Setting file names for SBOMs #9585
-
Hi all, suppose you have the following call to the ort/cli/build/install/ort/bin/ort \
report \
--report-option PlainTextTemplate=template.id=NOTICE_SUMMARY \
--report-option SpdxDocument=spdxVersion=2.2 \
--report-option SpdxDocument=outputFileFormats=JSON \
--report-option CycloneDX=schema.version=1.5 \
--report-option CycloneDX=output-file-formats=JSON,XML\
--report-formats PlainTextTemplate,StaticHtml,WebApp,SpdxDocument,CycloneDx \
--ort-file ort/evaluation-result.yml \
--output-dir ort-output/ May I ask if, and if how, I can set the file names for the SBOMS? For example, I want them to have the following names.
Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There is no way to do that currently. One of the reasons is that being able to do so would require quite some additional CLI option logic to be able to set all names for all different formats of a specific reporter. Another reason is that it's trivial to rename files as a post-processing step. |
Beta Was this translation helpful? Give feedback.
There is no way to do that currently. One of the reasons is that being able to do so would require quite some additional CLI option logic to be able to set all names for all different formats of a specific reporter. Another reason is that it's trivial to rename files as a post-processing step.