feat: add NodeVulnerabilityReport for node rootfs vulnerability scanning#2898
Open
Jabejixo wants to merge 2 commits intoaquasecurity:mainfrom
Open
feat: add NodeVulnerabilityReport for node rootfs vulnerability scanning#2898Jabejixo wants to merge 2 commits intoaquasecurity:mainfrom
Jabejixo wants to merge 2 commits intoaquasecurity:mainfrom
Conversation
Signed-off-by: Ivan Zvyagintsev <ivan.zvyagintsev@flant.com>
Signed-off-by: Ivan Zvyagintsev <ivan.zvyagintsev@flant.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for scanning node root filesystems using Trivy to detect OS package vulnerabilities on Kubernetes nodes.
Key Features
NodeVulnerabilityReport(cluster-scoped) to store scan results per nodescannerReportTTLtrivy-operator.aquasecurity.github.io/node-rootfs-scanannotation on a nodenodeSelectorto scan only specific nodestrivy_node_vulnerabilitiesPrometheus metricsscanJob.podTemplateContainerSecurityContextConfiguration Options
OPERATOR_NODE_SCANNING_ENABLEDfalseOPERATOR_NODE_SCANNING_SCANNERSvulnOPERATOR_NODE_SCANNING_PKG_TYPESosOPERATOR_NODE_SCANNING_SKIP_DIRS/proc,/sys,/dev,...OPERATOR_NODE_SCANNING_SEVERITIESCRITICAL,HIGHOPERATOR_NODE_SCANNING_HIDE_UNFIXED_CVESfalseOPERATOR_NODE_SCANNING_NODE_SELECTOROPERATOR_CONCURRENT_NODE_SCANNING_LIMIT1Example NodeVulnerabilityReport
Related issues
Checklist