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

Improve security-scan's e2e (MicroVM) to test each distribution's scan results #239

Open
andypitcher opened this issue Dec 12, 2023 · 0 comments

Comments

@andypitcher
Copy link
Contributor

andypitcher commented Dec 12, 2023

Linked issue: #227

rancher/security-scan already implements an e2e which currently creates a k8s cluster to confirm the execution of a scan (not its outcome). We want to improve this test, so that for each distribution the smoke test will test whether a given cis profile delivers the expected results.

For example, rke-cis-1.8-permissive profile will be tested as below:

  1. RKE v1.26 would be created with microVM
  2. MicroVM is configured with all environment requirements
  3. Run security-scan with rke-cis-1.8-permissive
  4. Scan should have 0 check fails (permissive and hardened)

Note: We should the define the expected results per distro's setup.

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

No branches or pull requests

2 participants