Skip to content

Commit f7e9868

Browse files
meysholdtona-agent
andcommitted
Remove Trivy image scan, keep filesystem scan only
Co-authored-by: Ona <no-reply@ona.com>
1 parent 0ff4942 commit f7e9868

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

.github/workflows/trivy.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,6 @@ permissions:
1212
contents: read
1313

1414
jobs:
15-
image-scan:
16-
permissions:
17-
contents: read
18-
security-events: write
19-
actions: read
20-
name: Image Scan
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout code
24-
uses: actions/checkout@v4
25-
26-
- name: Build image from .devcontainer/Dockerfile
27-
run: |
28-
docker build -t ghcr.io/ona-samples/github-security:${{ github.sha }} -f .devcontainer/Dockerfile .
29-
30-
- name: Run Trivy image scanner
31-
uses: aquasecurity/trivy-action@0.35.0
32-
with:
33-
image-ref: 'ghcr.io/ona-samples/github-security:${{ github.sha }}'
34-
format: 'sarif'
35-
output: 'trivy-image-results.sarif'
36-
severity: 'CRITICAL,HIGH'
37-
38-
- name: Upload image scan results to GitHub Security tab
39-
uses: github/codeql-action/upload-sarif@v3
40-
if: always()
41-
with:
42-
sarif_file: 'trivy-image-results.sarif'
43-
category: 'trivy-image'
44-
4515
fs-scan:
4616
permissions:
4717
contents: read

0 commit comments

Comments
 (0)