oscap-report - Man Page

Generates an HTML report from an ARF (or XCCDF Result) file with results of a SCAP-compatible utility scan. Unless the --output option is specified the report will be written to the standard output.

usage: oscap-report [--version] [-h] [-o OUTPUT] [--log-file LOG_FILE]
                    [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                    [-f {HTML,OLD-STYLE-HTML}]
                    [-d {NO-MINIFY,BUTTON-SHOW-ALL-RULES,ONLINE-CSS,BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS} [{NO-MINIFY,BUTTON-SHOW-ALL-RULES,ONLINE-CSS,BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS} ...]]
                    [FILE]

Positional Arguments

FILE

ARF (XCCDF) file or stdin if not provided.

Default: <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>

Named Arguments

--version

Show program's version number and exit.

-o,  --output

write the report to a file instead of the standard output.

Default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>

--log-file

write the log to a file instead of stderr.

--log-level

Possible choices: DEBUG, INFO, WARNING, ERROR, CRITICAL

write debug information to the log up to the LOG_LEVEL. LOG LEVELS:

DEBUG - Detailed information, typically of interest only for diagnosing problems. INFO - A confirmation that things are working as expected. WARING -  An indication that something unexpected happened, or a signal of a possible problem in the future. The software is still working as expected. ERROR - Due to a more serious problems, the software has not been able to perform its function to the full extent. CRITICAL - A serious error, indicating that the program itself may be unable to continue operating.

Default: "WARNING"

-f,  --format

Possible choices: HTML, OLD-STYLE-HTML

FORMAT: ['HTML', 'OLD-STYLE-HTML'] (default: "HTML").

Default: "HTML"

-d,  --debug

Possible choices: NO-MINIFY, BUTTON-SHOW-ALL-RULES, ONLINE-CSS, BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS

extra HTML generation options for debuggingDEBUG FLAGS:

NO-MINIFY - The HTML report will not be minified. BUTTON-SHOW-ALL-RULES - Adds a button to the HTML report for expanding all rules. ONLINE-CSS - Use the latest online version of Patternfly CSS/JS in the HTML report BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS - Adds a button to the HTML report for expanding all rules and all OVAL test details.

Default: ['']

Info

Aug 23, 2022 OpenSCAP Report Generator