Skip to content

Commit

Permalink
docs: Clarifying use of --metrics and epss options (#3663)
Browse files Browse the repository at this point in the history
Co-authored-by: Terri Oda <terri.oda@intel.com>
  • Loading branch information
Mayankrai449 and terriko authored Jan 3, 2024
1 parent f772954 commit 32a62cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cve_bin_tool/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ def main(argv=None):
output_group.add_argument(
"--epss-percentile",
action="store",
help="minimum epss percentile of CVE range between 0 to 100 to report",
help="minimum epss percentile of CVE range between 0 to 100 to report. Automatically enables `--metrics`",
)
output_group.add_argument(
"--epss-probability",
action="store",
help="minimum epss probability of CVE range between 0 to 100 to report",
help="minimum epss probability of CVE range between 0 to 100 to report. Automatically enables `--metrics`",
)
output_group.add_argument(
"--no-0-cve-report",
Expand Down
4 changes: 4 additions & 0 deletions doc/MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,10 @@ This option specifies the minimum EPSS percentile of CVE range between 0 to 100

This option specifies the minimum EPSS probability of CVE range between o to 100 to report. The default value is 0 which result in all CVEs being reported.

### Automatic Metrics Activation

If either `--epss-percentile` or `--epss-probability` is set, the system will automatically enable the `--metrics` option so that the epss data will be loaded and displayed.

### -S {low,medium,high,critical}, --severity {low,medium,high,critical}

This option specifies the minimum CVE severity to report. The default value is low which results in all CVEs being reported.
Expand Down

0 comments on commit 32a62cd

Please sign in to comment.