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

integrate atomic scan #2

Open
shawndwells opened this issue Jul 10, 2018 · 1 comment
Open

integrate atomic scan #2

shawndwells opened this issue Jul 10, 2018 · 1 comment

Comments

@shawndwells
Copy link

Hey @dudash - would like up date the pipeline to perform a CVE scan during the test stage.

Essentially need to run the following command:

atomic scan --verbose ${image} 

e.g.

atomic scan --verbose registry.access.redhat.com/rhel7:latest

The OpenShift Jenkins macros have been updated since last attempting this. Doesn't look like script declaratives can be used anymore. How can a command be called?

@shawndwells
Copy link
Author

Second test would be to perform a STIG compliance test of the underlying operating system. Can build in scans for middleware (e.g. EAP) later... but for now, something like this:

atomic scan --scan_type configuration_compliance --scanner_args xccdf-id=scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml,profile=xccdf_org.ssgproject.content_profile_stig-rhel7-disa,report registry.access.redhat.com/rhel7:latest
````

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