Skip to content

Commit

Permalink
Add pass-thru CLI option for --defectdojo-findings-json (#430)
Browse files Browse the repository at this point in the history
Add pass-thru CLI option for --defectdojo-findings-json
  • Loading branch information
drdavella authored Apr 2, 2024
1 parent 9aa6fb2 commit 92629a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/codemodder/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,9 @@ def parse_args(argv, codemod_registry: CodemodRegistry):
action=CsvListAction,
help="Comma-separated set of path(s) to Sonar hotspots JSON file(s) to feed to the codemods",
)
parser.add_argument(
"--defectdojo-findings-json",
action=CsvListAction,
help="Comma-separated set of path(s) to DefectDojo's v2 Findings JSON file(s) to feed to the codemods",
)
return parser.parse_args(argv)

0 comments on commit 92629a8

Please sign in to comment.