@@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Trivy filesystem scan
|
- name: Trivy filesystem scan
|
||||||
run: |
|
run: |
|
||||||
trivy fs --format table --output report.txt \
|
trivy fs -f json -o report.json \
|
||||||
--skip-dirs node_modules,android/.gradle,android/build,ios/Pods,ios/build,.git \
|
--skip-dirs node_modules,android/.gradle,android/build,ios/Pods,ios/build,.git \
|
||||||
--exit-code 0 \
|
--exit-code 0 \
|
||||||
.
|
.
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
# uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
# name: trivy-fs-report
|
# name: trivy-fs-report
|
||||||
# path: report.txt
|
# path: report.json
|
||||||
|
|
||||||
# ---------------- SONARQUBE ----------------
|
# ---------------- SONARQUBE ----------------
|
||||||
# In Gitea: Settings → Secrets → SONAR_TOKEN (and optionally SONAR_URL).
|
# In Gitea: Settings → Secrets → SONAR_TOKEN (and optionally SONAR_URL).
|
||||||
|
|||||||
Reference in New Issue
Block a user