Skip to content

Commit 91683f7

Browse files
authored
trivy config for helm.
1 parent 3183070 commit 91683f7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/metro_vision_ai_app_recipe_pull_request.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
shell: bash
101101
run: |
102102
pwd
103-
cd manufacturing-ai-suite/industrial-edge-insights-vision/
103+
cd metro-ai-suite/metro-vision-ai-app-recipe/
104104
trivy --version
105105
which trivy
106106
trivy image --download-db-only
@@ -139,13 +139,11 @@ jobs:
139139
140140
- name: Trivy config scan for helm charts
141141
run: |
142-
cd edge-ai-suites-repo/metro-ai-suite/metro-vision-ai-app-recipe/
143-
sed -i "s/username:*/username: user/g" values.yaml
144-
sed -i "s/password:*/password: password/g" values.yaml
145-
trivy config . -o trivy-helm.txt
142+
cd metro-ai-suite/metro-vision-ai-app-recipe/
143+
trivy config . --format table -s HIGH,CRITICAL -o trivy-helm.txt
146144
147145
- name: Upload Scan artifact to Github
148146
uses: actions/upload-artifact@v4
149147
with:
150148
name: Trivy Report - Config scan for Helm
151-
path: edge-ai-suites-repo/metro-ai-suite/metro-vision-ai-app-recipe/trivy-helm.txt
149+
path: metro-ai-suite/metro-vision-ai-app-recipe/trivy-helm.txt

0 commit comments

Comments
 (0)