Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable way to use Anchore Policy eval as vuln filter #3

Open
zhill opened this issue Oct 17, 2019 · 0 comments
Open

Add configurable way to use Anchore Policy eval as vuln filter #3

zhill opened this issue Oct 17, 2019 · 0 comments

Comments

@zhill
Copy link
Member

zhill commented Oct 17, 2019

Anchore's policy controls for vulnerabilities are extensive so enabling the adapter to combine the results of the policy evaluation and raw vulnerability report would enable fine-grained control over what vulnerabilities are reported to Harbor to help make the results in Harbor more useful.

Initial impl is to call the policy evaluation and vuln report and filter the vuln report results by the ids returned in the policy evaluation from the vulnerabilities.package trigger output. Can make the adapter configurable to only show 'stop', 'warn', or all reported finding actions for vulns in the policy findings. (e.g. show only entries that have a 'stop' action so as to support anchore's whitelist features).

Care must be taken to not conflict with Harbor's own management features like CVE whitelists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant