Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

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,JSON,JSON-EVERYTHING}]
                    [-d {NO-MINIFY,ONLINE-CSS,BUTTON-SHOW-ALL-RULES,BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS} [{NO-MINIFY,ONLINE-CSS,BUTTON-SHOW-ALL-RULES,BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS} ...]]
                    [FILE]

Positional Arguments

FILE

ARF (XCCDF) file or stdin if not provided.

Default: <stdin>

Named Arguments

--version

Show program's version number and exit.

-o,  --output

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

Default: <stdout>

--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.

WARNING -  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, JSON, JSON-EVERYTHING

FORMAT: ['HTML', 'OLD-STYLE-HTML', 'JSON', 'JSON-EVERYTHING']

Default: "HTML"

-d,  --debug

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

extra HTML generation options for debugging.

DEBUG 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

Jun 08, 2024 OpenSCAP Report Generator