Skip to content

Commit

Permalink
Adding CBOM option
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Feb 1, 2024
1 parent 9fc2585 commit 562e0ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate-document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ BOMTYPE=;

case $1 in
([Ss][Bb][Oo][Mm]) BOMTYPE="SBOM";;
([Cc][Bb][Oo][Mm]) BOMTYPE="CBOM";;
([Ss][Aa][Aa][Ss][Bb][Oo][Mm]) BOMTYPE="SaaSBOM";;
([Vv][Dd][Rr]) BOMTYPE="VDR+VEX";;
([Vv][Ee][Xx]) BOMTYPE="VDR+VEX";;
([Aa][Tt][Tt][Ee][Ss][Tt][Aa][Tt][Ii][Oo][Nn][Ss]) BOMTYPE="Attestations";;
(*)
echo Invalid argument. Valid arguments are "SBOM", "SaaSBOM", "VDR", and "Attestations"
echo Invalid argument. Valid arguments are "SBOM", "CBOM", "SaaSBOM", "VDR", and "Attestations"
exit;;
esac

Expand Down

0 comments on commit 562e0ad

Please sign in to comment.