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

Support enforcement of zero vulnerabilities #71

Closed
sjhx opened this issue Jan 13, 2020 · 4 comments · Fixed by #197
Closed

Support enforcement of zero vulnerabilities #71

sjhx opened this issue Jan 13, 2020 · 4 comments · Fixed by #197
Labels
enhancement New feature or request

Comments

@sjhx
Copy link
Member

sjhx commented Jan 13, 2020

Using for example https://github.com/quay/clair in order that images with known vulnerabilities can be blocked from initial deployment.

@sjhx sjhx changed the title Support Vulnerability Checking Support enforcement of zero vulnerabilities Jan 13, 2020
@l0nax
Copy link

l0nax commented Jan 13, 2020

Shouldn't this be the task of the Registry?

@sjhx
Copy link
Member Author

sjhx commented Jan 14, 2020

I don't see how it could be implemented in a registry, unless the registry prevented image pull acording to policy which would be problematic, for example pull to investigate the vulnerability and pull due to rescheduling would also be blocked. Its the responsibilty of an admission controller to enforce an image policy and this would seem to be a reasonable policy to implement as a additional feature. The idea is that portieris would query the vulnerability status at the time of deployment (admission).

@sjhx
Copy link
Member Author

sjhx commented Jun 11, 2020

We would want to allow for different vulnerability analysis services to be integrated so the policy should be open to that for example:

policy:
  vulnerabilities:
     ibmcloud:
        enforce: true

Other services would need to extend the policy crd but would not disrupt existing policies.
The set of attributes and settings for each service would be independent.
Soome attributes would preferably be common such as an enforce warn option.

@sjhx sjhx added the enhancement New feature or request label Jun 24, 2020
@sjhx
Copy link
Member Author

sjhx commented Nov 3, 2020

The referenced PR adds support for checking with IBM Cloud Container Registry's Vulnerability Advisor, other sources of image analysis information could be added to the same policy structure.

@sjhx sjhx closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants