Skip to content

topcug/secclear-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secclear

Stop parsing JSONs. Get one clean security report from multiple Kubernetes scanners.

secclear scan demo

The Problem

You run Trivy and Grype on your cluster. You get 10,000 lines of JSON. The same CVE shows up 3 times. You spend 2-3 hours parsing it manually. Your boss wants a PowerPoint.

The Solution

One command. 30 seconds. Clean report.

secclear scan minikube

secclear report

What you get: Executive summary with top 5 issues. Auto-deduplication shows each CVE once. Scanner comparison tells you which tool found what. High-confidence findings from multiple scanners.

Supported Scanners

Image Scanners (CVE detection):

Cluster Scanners (configuration checks):

Install at least 2 image scanners. Cluster scanners are optional.

Install

Quick install:

curl -sSL https://raw.githubusercontent.com/topcug/secclear-cli/main/install.sh | bash

Manual install from releases:

# Linux
curl -sSL https://github.com/topcug/secclear-cli/releases/latest/download/secclear-linux-amd64 -o secclear
chmod +x secclear
sudo mv secclear /usr/local/bin/

# macOS Intel
curl -sSL https://github.com/topcug/secclear-cli/releases/latest/download/secclear-darwin-amd64 -o secclear
chmod +x secclear
sudo mv secclear /usr/local/bin/

# macOS Apple Silicon
curl -sSL https://github.com/topcug/secclear-cli/releases/latest/download/secclear-darwin-arm64 -o secclear
chmod +x secclear
sudo mv secclear /usr/local/bin/

Usage

# Scan your cluster
secclear scan minikube

# HTML report
secclear scan minikube --format html

# Specific namespace
secclear scan minikube -n production

Output

Terminal shows risk level, overlap metrics, and high-confidence findings. Reports include top 5 action items, all CRITICAL/HIGH CVEs with fixes, and scanner comparison. See examples/ for sample outputs.

How It Works

Discovers images in your cluster. Runs Trivy and Grype in parallel. Deduplicates CVEs. Runs cluster scanners. Generates reports with scanner attribution.

Scanner agreement = high confidence. CVE found by 2+ scanners means definitely fix. CVE found by 1 scanner means review for false positive.

License

MIT

About

Stop parsing JSONs. Get one clean security report from multiple Kubernetes scanners.

Resources

License

Stars

Watchers

Forks

Packages

No packages published