Trivy command for a summary security report of the current Kubernetes cluster?
IntermediateProductionRapid-Fire Tool Questions
Answer
trivy k8s --report summary
trivy k8s --include-namespaces payments --severity HIGH,CRITICAL --report all
It scans workload images, misconfigurations, RBAC and secrets in the current kubeconfig context.
More on Rapid-Fire Tool Questions
Gitleaks command to scan only staged changes before a commit?BeginnerTrivy command to fail a build only on fixable critical vulnerabilities?BeginnerGenerate a CycloneDX SBOM for an image with Syft and scan it with Grype?BeginnerCosign keyless verify command that pins the GitHub Actions workflow identity?IntermediateRun Checkov against a Terraform plan instead of raw HCL?BeginnerSemgrep command to scan with OWASP rules and fail on findings?Beginner