Skip to content

Commit

Permalink
fix: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersans committed Aug 23, 2024
1 parent 91cf975 commit f679e2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ cabextract
capnproto
cbt
CDNs
CDX
ceph
cfa
cfea
Expand Down
17 changes: 10 additions & 7 deletions cve_bin_tool/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,45 +345,48 @@ def main(argv=None):
choices=["tag", "json", "yaml"],
help="specify format of software bill of materials (sbom) to generate (default: tag)",
)
output_group.add_argument(
vex_output_group = parser.add_argument_group(
"Vex Output", "Arguments related to Vex output document."
)
vex_output_group.add_argument(
"--vex-output",
action="store",
help="Provide vulnerability exchange (vex) filename to generate",
default="",
)
output_group.add_argument(
vex_output_group.add_argument(
"--vex-type",
action="store",
default="",
choices=["cyclonedx", "csaf", "openvex"],
help="specify type of vulnerability exchange (vex) to generate (default: cyclonedx)",
)
output_group.add_argument(
vex_output_group.add_argument(
"--product",
action="store",
default="",
help="Product Name",
)
output_group.add_argument(
vex_output_group.add_argument(
"--release",
action="store",
default="",
help="Release Version",
)
output_group.add_argument(
vex_output_group.add_argument(
"--vendor",
action="store",
default="",
help="Vendor/Supplier of Product",
)
output_group.add_argument(
vex_output_group.add_argument(
"-rr",
"--revision-reason",
action="store",
default="",
help="a reason for the update to the vex document should be specified in double quotes",
)
output_group.add_argument(
vex_output_group.add_argument(
"--filter-triage",
action="store_true",
default=False,
Expand Down

0 comments on commit f679e2b

Please sign in to comment.