| 1 |
.TH oscap-im "8" "January 2025" "Red Hat, Inc." "System Administration Utilities" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
oscap-im \- Tool for building hardened bootable container images |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
The oscap-im tool is a convenience script that makes building hardened bootable container images easier. |
| 8 |
This tool is designed to be used during the build of the bootable container image. |
| 9 |
Include oscap-im in your Containerfile that will be used to build your bootable container image. |
| 10 |
The oscap-im runs oscap tool on a given container image. |
| 11 |
|
| 12 |
The oscap-im tool can't be used anywhere else than in a Containerfile. |
| 13 |
|
| 14 |
.SH USAGE |
| 15 |
|
| 16 |
oscap-im [OPTION...] DATASTREAM_FILE |
| 17 |
|
| 18 |
Usage of the tool mimics usage and options of oscap(8) tool. |
| 19 |
|
| 20 |
.SH OPTIONS |
| 21 |
.TP |
| 22 |
\fB\-\-profile PROFILE_ID\fR |
| 23 |
.RS |
| 24 |
ID of the profile to be evaluated. |
| 25 |
.RE |
| 26 |
.TP |
| 27 |
\fB\-\-tailoring-file TAILORING_FILE\fR |
| 28 |
.RS |
| 29 |
Use given file for XCCDF tailoring. Select profile from tailoring file to apply using --profile. If both --tailoring-file and --tailoring-id are specified, --tailoring-file takes priority. |
| 30 |
.RE |
| 31 |
.TP |
| 32 |
\fB\-\-tailoring-id COMPONENT_REF_ID\fR |
| 33 |
.RS |
| 34 |
Use tailoring component in input source data stream for XCCDF tailoring. The tailoring component must be specified by its Ref-ID (value of component-ref/@id attribute in input source data stream). Select profile from tailoring component to apply using --profile. If both --tailoring-file and --tailoring-id are specified, --tailoring-file takes priority. |
| 35 |
.RE |
| 36 |
.TP |
| 37 |
\fB\-\-results-arf FILE\fR |
| 38 |
.RS |
| 39 |
Writes results to a given FILE in Asset Reporting Format. |
| 40 |
.RE |
| 41 |
.TP |
| 42 |
\fB\-\-report FILE\fR |
| 43 |
.RS |
| 44 |
Write HTML report into FILE. |
| 45 |
.RE |
| 46 |
|
| 47 |
.SH REPORTING BUGS |
| 48 |
.nf |
| 49 |
Please report bugs using https://github.com/OpenSCAP/openscap/issues |
| 50 |
|
| 51 |
.SH AUTHORS |
| 52 |
.nf |
| 53 |
Jan Černý <[email protected]> |
| 54 |
.fi |