Skip to content

Commit 92629a8

Browse files
authored
Add pass-thru CLI option for --defectdojo-findings-json (#430)
Add pass-thru CLI option for --defectdojo-findings-json
1 parent 9aa6fb2 commit 92629a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/codemodder/cli.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,9 @@ def parse_args(argv, codemod_registry: CodemodRegistry):
174174
action=CsvListAction,
175175
help="Comma-separated set of path(s) to Sonar hotspots JSON file(s) to feed to the codemods",
176176
)
177+
parser.add_argument(
178+
"--defectdojo-findings-json",
179+
action=CsvListAction,
180+
help="Comma-separated set of path(s) to DefectDojo's v2 Findings JSON file(s) to feed to the codemods",
181+
)
177182
return parser.parse_args(argv)

0 commit comments

Comments
 (0)