From 39cf59552bd8dbd0d896b928e2e5cc9599adfbf1 Mon Sep 17 00:00:00 2001 From: shiftleft-chuck <100888182+shiftleft-chuck@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:29:30 -0400 Subject: [PATCH 1/2] Update shiftleft.yml --- .github/workflows/shiftleft.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/shiftleft.yml b/.github/workflows/shiftleft.yml index d39a9048e..db47f6761 100644 --- a/.github/workflows/shiftleft.yml +++ b/.github/workflows/shiftleft.yml @@ -35,7 +35,13 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch - name: NextGen Static Analysis - run: ${GITHUB_WORKSPACE}/sl analyze --strict --wait --app shiftleft-java-demo --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --vcs-prefix-correction "io/shiftleft=src/main/java/" --java --cpg target/hello-shiftleft-0.0.1.jar + run: ${GITHUB_WORKSPACE}/sl analyze \ + --wait \ + --app "shiftleft-java-demo-041222" \ + --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} \ + --vcs-prefix-correction "io/shiftleft=src/main/java/" \ + --java \ + --cpg target/hello-shiftleft-0.0.1.jar env: SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }} @@ -51,7 +57,7 @@ jobs: run: | ${GITHUB_WORKSPACE}/sl check-analysis \ --v2 \ - --app "shiftleft-java-demo-220411" \ + --app "shiftleft-java-demo-041222" \ --report \ --github-pr-number=${{github.event.number}} \ --github-pr-user=${{ github.repository_owner }} \ From 4718d41e1e44edb174919da50b79ca6e85d2b8c5 Mon Sep 17 00:00:00 2001 From: shiftleft-chuck <100888182+shiftleft-chuck@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:36:11 -0400 Subject: [PATCH 2/2] Update shiftleft.yml --- .github/workflows/shiftleft.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/shiftleft.yml b/.github/workflows/shiftleft.yml index db47f6761..416ace382 100644 --- a/.github/workflows/shiftleft.yml +++ b/.github/workflows/shiftleft.yml @@ -35,13 +35,11 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch - name: NextGen Static Analysis - run: ${GITHUB_WORKSPACE}/sl analyze \ - --wait \ - --app "shiftleft-java-demo-041222" \ - --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} \ - --vcs-prefix-correction "io/shiftleft=src/main/java/" \ - --java \ - --cpg target/hello-shiftleft-0.0.1.jar + run: | + ${GITHUB_WORKSPACE}/sl analyze --wait --app "shiftleft-java-demo-041222" \ + --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} \ + --vcs-prefix-correction "io/shiftleft=src/main/java/" \ + --java --cpg target/hello-shiftleft-0.0.1.jar env: SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}