File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,22 @@ repos:
95
95
types : [shell]
96
96
language : script
97
97
require_serial : true
98
- entry : scripts/sbom/sbom.bash diff
98
+ entry : scripts/sbom/sbom.bash
99
+ args :
100
+ - diff
99
101
100
102
- id : sbom-validate
101
103
name : SBOM CycloneDX validation
102
104
types : [shell]
103
105
language : script
104
106
require_serial : true
105
- entry : scripts/sbom/sbom.bash validate
107
+ entry : scripts/run-from-container.sh
108
+ args :
109
+ - --network=none
110
+ - docker.io/cyclonedx/cyclonedx-cli:0.27.2
111
+ - validate
112
+ - --input-file
113
+ - docs/sbom.json
106
114
107
115
# - id: sbom-get-unset
108
116
# name: SBOM get unset
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ usage() {
37
37
echo " COMMANDS:" >&2
38
38
echo " add <location> <key> <value> [property-value] add key-value pair to a component" >&2
39
39
echo " diff checks if any changes in git requires sbom to be updated" >&2
40
- echo " edit <location> <key> edit object under key for a component using $EDITOR " >&2
40
+ echo " edit <location> <key> edit object under key for a component using ${ EDITOR:- } " >&2
41
41
echo " generate generate new cyclonedx sbom. Requires GITHUB_TOKEN to be set to avoid GitHub rate limits" >&2
42
42
echo " get <location> [key] get component from sbom, optionally query for a provided key" >&2
43
43
echo " get-charts get all charts in sbom" >&2
You can’t perform that action at this time.
0 commit comments