File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,23 +55,23 @@ echo ""
5555# This uses the lock files which pin all transitive dependencies
5656echo " Generating combined SBOM (JSON format)..."
5757" ${VENV_DIR} /bin/cyclonedx-py" environment \
58- --output-format JSON \
58+ --of JSON \
5959 --output-reproducible \
6060 --mc-type application \
61- --spec-version 1.5 \
62- --output-file " ${SBOM_DIR} /sbom.json" \
61+ --sv 1.5 \
62+ -o " ${SBOM_DIR} /sbom.json" \
6363 " ${VENV_DIR} "
6464
6565echo " Generated: ${SBOM_DIR} /sbom.json"
6666
6767# Also generate XML format for compatibility
6868echo " Generating combined SBOM (XML format)..."
6969" ${VENV_DIR} /bin/cyclonedx-py" environment \
70- --output-format XML \
70+ --of XML \
7171 --output-reproducible \
7272 --mc-type application \
73- --spec-version 1.5 \
74- --output-file " ${SBOM_DIR} /sbom.xml" \
73+ --sv 1.5 \
74+ -o " ${SBOM_DIR} /sbom.xml" \
7575 " ${VENV_DIR} "
7676
7777echo " Generated: ${SBOM_DIR} /sbom.xml"
You can’t perform that action at this time.
0 commit comments