Skip to content

Commit fc8a5ea

Browse files
committed
feat(ort-scan): Generate JSON CycloneDX reports
Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent 3c1d1cb commit fc8a5ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/ort-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
export ORT_ALLOW_DYNAMIC_VERSIONS=${ALLOW_DYNAMIC_VERSIONS:-"false"}
8181
export ORT_CLI="/opt/ort/bin/ort"
8282
export ORT_CLI_ARGS=${ORT_CLI_ARGS:-"-P ort.forceOverwrite=true --stacktrace"}
83-
export ORT_CLI_REPORT_ARGS=${ORT_CLI_REPORT_ARGS:-"-O SpdxDocument=output.file.formats=json,yaml"}
83+
ORT_CLI_REPORT_DEFAULT_ARGS="-O CycloneDX=output.file.formats=json,xml -O SpdxDocument=output.file.formats=json,yaml"
84+
export ORT_CLI_REPORT_ARGS=${ORT_CLI_REPORT_ARGS:-$ORT_CLI_REPORT_DEFAULT_ARGS}
8485
export ORT_CONFIG_PATH=${ORT_CONFIG_PATH:-"${ORT_DATA_PATH}/config"}
8586
export ORT_CONFIG_VCS_REVISION=${ORT_CONFIG_REVISION:-"main"}
8687
export ORT_CONFIG_VCS_URL=${ORT_CONFIG_REPOSITORY:-"https://github.com/oss-review-toolkit/ort-config.git"}

0 commit comments

Comments
 (0)