Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8427998

Browse files
authored
chore: fix trivy scanning (#12421)
1 parenta92853c commit8427998

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

‎.github/workflows/security.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
-name:Checkout
2929
uses:actions/checkout@v4
3030

31+
-name:Setup Go
32+
uses:./.github/actions/setup-go
33+
3134
-name:Initialize CodeQL
3235
uses:github/codeql-action/init@v3
3336
with:
3437
languages:go, javascript
3538

36-
-name:Setup Go
37-
uses:./.github/actions/setup-go
38-
3939
# Workaround to prevent CodeQL from building the dashboard.
4040
-name:Remove Makefile
4141
run:|
@@ -113,14 +113,6 @@ jobs:
113113
make -j "$image_job"
114114
echo "image=$(cat "$image_job")" >> $GITHUB_OUTPUT
115115
116-
-name:Run Prisma Cloud image scan
117-
uses:PaloAltoNetworks/prisma-cloud-scan@v1
118-
with:
119-
pcc_console_url:${{ secrets.PRISMA_CLOUD_URL }}
120-
pcc_user:${{ secrets.PRISMA_CLOUD_ACCESS_KEY }}
121-
pcc_pass:${{ secrets.PRISMA_CLOUD_SECRET_KEY }}
122-
image_name:${{ steps.build.outputs.image }}
123-
124116
-name:Run Trivy vulnerability scanner
125117
uses:aquasecurity/trivy-action@84384bd6e777ef152729993b8145ea352e9dd3ef
126118
with:
@@ -142,6 +134,16 @@ jobs:
142134
path:trivy-results.sarif
143135
retention-days:7
144136

137+
# Prisma cloud scan runs last because it fails the entire job if it
138+
# detects vulnerabilities. :|
139+
-name:Run Prisma Cloud image scan
140+
uses:PaloAltoNetworks/prisma-cloud-scan@v1
141+
with:
142+
pcc_console_url:${{ secrets.PRISMA_CLOUD_URL }}
143+
pcc_user:${{ secrets.PRISMA_CLOUD_ACCESS_KEY }}
144+
pcc_pass:${{ secrets.PRISMA_CLOUD_SECRET_KEY }}
145+
image_name:${{ steps.build.outputs.image }}
146+
145147
-name:Send Slack notification on failure
146148
if:${{ failure() }}
147149
run:|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp