1OSCAP-REPORT(1) OpenSCAP Report Generator OSCAP-REPORT(1)
2
3
4
5Generates an HTML report from an ARF (or XCCDF Result) file with results of a
6SCAP-compatible utility scan. Unless the --output option is specified the re‐
7port will be written to the standard output.
8
9
10 usage: oscap-report [--version] [-h] [-o OUTPUT] [--log-file LOG_FILE]
11 [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
12 [-f {HTML,OLD-STYLE-HTML}]
13 [-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} ...]]
14 [FILE]
15
17 FILE ARF (XCCDF) file or stdin if not provided.
18
19 Default: <_io.TextIOWrapper name='<stdin>' mode='r' encod‐
20 ing='utf-8'>
21
23 --version
24 Show program's version number and exit.
25
26 -o, --output
27 write the report to a file instead of the standard output.
28
29 Default: <_io.TextIOWrapper name='<stdout>' mode='w' encod‐
30 ing='utf-8'>
31
32 --log-file
33 write the log to a file instead of stderr.
34
35 --log-level
36 Possible choices: DEBUG, INFO, WARNING, ERROR, CRITICAL
37
38 write debug information to the log up to the LOG_LEVEL. LOG
39 LEVELS:
40 DEBUG - Detailed information, typically of interest only for
41 diagnosing problems. INFO - A confirmation that things are
42 working as expected. WARING - An indication that something
43 unexpected happened, or a signal of a possible problem in the
44 future. The software is still working as expected. ERROR -
45 Due to a more serious problems, the software has not been
46 able to perform its function to the full extent. CRITICAL -
47 A serious error, indicating that the program itself may be
48 unable to continue operating.
49
50 Default: "WARNING"
51
52 -f, --format
53 Possible choices: HTML, OLD-STYLE-HTML
54
55 FORMAT: ['HTML', 'OLD-STYLE-HTML'] (default: "HTML").
56
57 Default: "HTML"
58
59 -d, --debug
60 Possible choices: NO-MINIFY, BUTTON-SHOW-ALL-RULES, ONLINE-CSS,
61 BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS
62
63 extra HTML generation options for debuggingDEBUG FLAGS:
64 NO-MINIFY - The HTML report will not be minified. BUT‐
65 TON-SHOW-ALL-RULES - Adds a button to the HTML report for
66 expanding all rules. ONLINE-CSS - Use the latest online
67 version of Patternfly CSS/JS in the HTML report BUT‐
68 TON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS - Adds a button
69 to the HTML report for expanding all rules and all OVAL
70 test details.
71
72 Default: ['']
73
75 OpenSCAP
76
77
78
79
80 Aug 23, 2022 OSCAP-REPORT(1)