Skip to content

Commit 88bd3e5

Browse files
committed
table output
1 parent 9dc42c7 commit 88bd3e5

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/quality-checks.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ jobs:
180180
scan-ref: "poetry.lock"
181181
severity: "CRITICAL,HIGH"
182182
scanners: "license"
183-
format: "json"
184-
output: "license_scan_python.json"
183+
format: "table"
184+
output: "license_scan_python.txt"
185185
exit-code: "1"
186-
list-all-pkgs: "true"
186+
list-all-pkgs: "false"
187187
trivy-config: trivy.yaml
188188
- name: Check node licenses
189189
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
@@ -193,10 +193,10 @@ jobs:
193193
scan-ref: "package-lock.json"
194194
severity: "CRITICAL,HIGH"
195195
scanners: "license"
196-
format: "json"
197-
output: "license_scan_node.json"
196+
format: "table"
197+
output: "license_scan_node.txt"
198198
exit-code: "1"
199-
list-all-pkgs: "true"
199+
list-all-pkgs: "false"
200200
trivy-config: trivy.yaml
201201
- name: Check go licenses
202202
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
@@ -206,10 +206,10 @@ jobs:
206206
scan-ref: "go.sum"
207207
severity: "CRITICAL,HIGH"
208208
scanners: "license"
209-
format: "json"
210-
output: "license_scan_go.json"
209+
format: "table"
210+
output: "license_scan_go.txt"
211211
exit-code: "1"
212-
list-all-pkgs: "true"
212+
list-all-pkgs: "false"
213213
trivy-config: trivy.yaml
214214
- name: Check java licenses
215215
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
@@ -219,25 +219,25 @@ jobs:
219219
scan-ref: "pom.xml"
220220
severity: "CRITICAL,HIGH"
221221
scanners: "license"
222-
format: "json"
223-
output: "license_scan_java.json"
222+
format: "table"
223+
output: "license_scan_java.txt"
224224
exit-code: "1"
225-
list-all-pkgs: "true"
225+
list-all-pkgs: "false"
226226
trivy-config: trivy.yaml
227227
- name: Show license scan output
228228
if: always()
229229
run: |
230-
if [ -f license_scan_python.json ]; then
231-
cat license_scan_python.json
230+
if [ -f license_scan_python.txt ]; then
231+
cat license_scan_python.txt
232232
fi
233-
if [ -f license_scan_node.json ]; then
234-
cat license_scan_node.json
233+
if [ -f license_scan_node.txt ]; then
234+
cat license_scan_node.txt
235235
fi
236-
if [ -f license_scan_go.json ]; then
237-
cat license_scan_go.json
236+
if [ -f license_scan_go.txt ]; then
237+
cat license_scan_go.txt
238238
fi
239-
if [ -f license_scan_java.json ]; then
240-
cat license_scan_java.json
239+
if [ -f license_scan_java.txt ]; then
240+
cat license_scan_java.txt
241241
fi
242242
243243
- name: Run code lint

0 commit comments

Comments
 (0)