From fe45b3532ddbd7e0845103bb69fde4f11be57250 Mon Sep 17 00:00:00 2001 From: NishantRajputRN Date: Tue, 12 May 2026 18:07:05 +0530 Subject: [PATCH] Trivy filesystem --- .gitea/workflows/azure-pipelines.yml | 4 ++-- App.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/azure-pipelines.yml b/.gitea/workflows/azure-pipelines.yml index 91858ff..5490949 100644 --- a/.gitea/workflows/azure-pipelines.yml +++ b/.gitea/workflows/azure-pipelines.yml @@ -43,7 +43,7 @@ jobs: - name: Trivy filesystem scan 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 \ --exit-code 0 \ . @@ -52,7 +52,7 @@ jobs: # uses: actions/upload-artifact@v3 # with: # name: trivy-fs-report - # path: report.txt + # path: report.json # ---------------- SONARQUBE ---------------- # In Gitea: Settings → Secrets → SONAR_TOKEN (and optionally SONAR_URL). diff --git a/App.js b/App.js index ffdcd0f..5bdb624 100644 --- a/App.js +++ b/App.js @@ -7,4 +7,5 @@ console.log("test5") console.log("test6") console.log("test7") console.log("test8") -console.log("test9") \ No newline at end of file +console.log("test9") +console.log("test10") \ No newline at end of file