How It Works
The image scanning feature:- Runs automatically in the background when Agentkube starts
- Scans container images in your Kubernetes clusters
- Uses Grype to detect known vulnerabilities
- Provides detailed vulnerability reports and remediation suggestions
- Updates vulnerability databases regularly
Configuration
Settings.json Configuration
You can configure image scanning in yoursettings.json
file:
Configuration Options
- enable: Enable or disable image scanning (default: false)
- exclusions.namespaces: Array of namespace names to exclude from scanning
- exclusions.labels: Key-value pairs of labels to exclude from scanning
Application Settings
You can also manage image scanning through the Agentkube interface:- Head to Settings → Image Scan
- Enable/Disable Scanning: Toggle the image scanning feature on or off
- Namespace Exclusions: Add namespaces you want to exclude from scanning
- Label Exclusions: Add label selectors to exclude specific workloads