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,JSON,JSON-EVERYTHING}]
13 [-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} ...]]
14 [FILE]
15
17 FILE ARF (XCCDF) file or stdin if not provided.
18
19 Default: <stdin>
20
22 --version
23 Show program's version number and exit.
24
25 -o, --output
26 write the report to a file instead of the standard output.
27
28 Default: <stdout>
29
30 --log-file
31 write the log to a file instead of stderr.
32
33 --log-level
34 Possible choices: DEBUG, INFO, WARNING, ERROR, CRITICAL
35
36 write debug information to the log up to the LOG_LEVEL.
37
38 LOG LEVELS:
39 DEBUG - Detailed information, typically of interest only
40 for diagnosing problems.
41
42 INFO - A confirmation that things are working as ex‐
43 pected.
44
45 WARNING - An indication that something unexpected hap‐
46 pened, or a signal of a possible problem in the future.
47 The software is still working as expected.
48
49 ERROR - Due to a more serious problems, the software has
50 not been able to perform its function to the full extent.
51
52 CRITICAL - A serious error, indicating that the program
53 itself may be unable to continue operating.
54
55 Default: "WARNING"
56
57 -f, --format
58 Possible choices: HTML, OLD-STYLE-HTML, JSON, JSON-EVERYTHING
59
60 FORMAT: ['HTML', 'OLD-STYLE-HTML', 'JSON', 'JSON-EVERYTHING']
61
62 Default: "HTML"
63
64 -d, --debug
65 Possible choices: NO-MINIFY, ONLINE-CSS, BUTTON-SHOW-ALL-RULES,
66 BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS
67
68 extra HTML generation options for debugging.
69
70 DEBUG FLAGS:
71 NO-MINIFY - The HTML report will not be minified.
72
73 BUTTON-SHOW-ALL-RULES - Adds a button to the HTML report
74 for expanding all rules.
75
76 ONLINE-CSS - Use the latest online version of Patternfly
77 CSS/JS in the HTML report.
78
79 BUTTON-SHOW-ALL-RULES-AND-OVAL-TEST-DETAILS - Adds a but‐
80 ton to the HTML report for expanding all rules and all
81 OVAL test details.
82
83 Default: ['']
84
86 OpenSCAP
87
88
89
90
91 Sep 11, 2023 OSCAP-REPORT(1)