| 1 |
.TH oscap-docker "8" "January 2016" "Red Hat, Inc." "System Administration Utilities" |
| 2 |
.SH NAME |
| 3 |
oscap-docker \- Tool for running oscap within docker container or image |
| 4 |
.SH DESCRIPTION |
| 5 |
oscap-docker tool can asses vulnerabilities or security compliance of running Docker |
| 6 |
containers or cold Docker images. OpenSCAP tool \fBoscap(8)\fR is used underneath. Definition |
| 7 |
of vulnerabilities (CVE stream) is downloaded from product vendor. |
| 8 |
|
| 9 |
.SS Compliance scan of Docker image |
| 10 |
Usage: oscap-docker image IMAGE_NAME OSCAP_ARGUMENT [OSCAP_ARGUMENT...] |
| 11 |
|
| 12 |
Run any OpenSCAP \fBoscap(8)\fR command within chroot of mounted docker image. Learn more |
| 13 |
about arguments in \fBoscap(8)\fR man page. |
| 14 |
|
| 15 |
.SS Compliance scan of Docker container |
| 16 |
Usage: oscap-docker container CONTAINER_NAME OSCAP_ARGUMENT [OSCAP_ARGUMENT...] |
| 17 |
|
| 18 |
Run any OpenSCAP \fBoscap(8)\fR command within chroot of mounted docker container. Result |
| 19 |
of this command may differ from scanning just an image due to defined mount points. |
| 20 |
|
| 21 |
.SS "Vulnerability scan of Docker image" |
| 22 |
Usage: oscap-docker image-cve IMAGE_NAME [--results oval-results-file.xml [--report report.html]] |
| 23 |
|
| 24 |
Attach docker image, determine OS variant/version, download CVE stream applicable to |
| 25 |
the given OS, and finally run vulnerability scan. |
| 26 |
|
| 27 |
.SS "Vulnerability scap of Docker container" |
| 28 |
Usage: oscap-docker container-cve CONTAINER_NAME [--results oval-results-file.xml [--report report.html]] |
| 29 |
|
| 30 |
Chroot to running container, determine OS variant/version, download CVE stream applicable |
| 31 |
to the given OS and finally run a vulnerability scan. |
| 32 |
|
| 33 |
In order to use different \fBoscap(8)\fR binary pass it like --oscap=<path/to/oscap>, as the first argument. |
| 34 |
|
| 35 |
.SH SECURITY POLICIES |
| 36 |
.TP |
| 37 |
\fB SCAP-Security-Guide\fR package contains multiple configuration policies. |
| 38 |
.TP |
| 39 |
\fB Red Hat CVE stream can be found online\fR - \fIhttps://www.redhat.com/security/data/metrics/\fR |
| 40 |
|
| 41 |
.SH REPORTING BUGS |
| 42 |
.nf |
| 43 |
Please report bugs using https://github.com/OpenSCAP/openscap/issues |
| 44 |
|
| 45 |
.SH AUTHORS |
| 46 |
.nf |
| 47 |
Šimon Lukašík <[email protected]> |
| 48 |
.fi |