Open ChristianFehlinger opened 4 years ago
If you are generating a single report format you can already rename the output file by using:
$ dependency-check.sh --out ./report.xml --format XML --scan ./path
Thanks for that tip. At the moment i am generating XML and HTML, but i think i could drop the HTML part.
But in generell i think it would be nice to define a name.
I'd agree, the option to specify the filename should be added. We accept PRs...
I am using the mvn plugin and would be happy, if the option would be available to specify the report filename (eg including the version number for a better traceability...). Is there any progress?
Same here. I would like to define the name using a Maven property, respectively a -D parameter.
I am using the command-line scanner in a ci-pipeline. (Used version
Dependency-Check Core version 5.3.0
) I was searching for parameter to rename the output-files, but was not able to find something.For example from dependency-check-report.xml to dependency-check-app1.xml
After a quick look into ReportGenerator.java, it looks like it is static.
Could it be a option to add a variable to the Settings.java? So it would be possible to overwrite it with a properties.file.