Skip to content

Commit 0827cd0

Browse files
Update Trivy scan-type to enable JAR scanning
1 parent 46ad53c commit 0827cd0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/central-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Run Trivy vulnerability scanner
2525
uses: aquasecurity/trivy-action@master
2626
with:
27-
scan-type: 'fs'
27+
scan-type: 'rootfs'
2828
scan-ref: '/github/workspace/ballerina/lib'
2929
format: 'table'
3030
timeout: '10m0s'

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Run Trivy vulnerability scanner
3131
uses: aquasecurity/trivy-action@master
3232
with:
33-
scan-type: 'fs'
33+
scan-type: 'rootfs'
3434
scan-ref: '/github/workspace/ballerina/lib'
3535
format: 'table'
3636
timeout: '10m0s'

.github/workflows/trivy-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Run Trivy vulnerability scanner
2727
uses: aquasecurity/trivy-action@master
2828
with:
29-
scan-type: 'fs'
29+
scan-type: 'rootfs'
3030
scan-ref: '/github/workspace/ballerina/lib'
3131
format: 'table'
3232
timeout: '10m0s'

0 commit comments

Comments
 (0)