Skip to content

Commit

Permalink
Update devsecops.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Oct 19, 2023
1 parent 2427e30 commit 9e14b5c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/devsecops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ on:
jobs:


terrascan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: terrascan
run: docker run --rm -t -v "${PWD}:/pwd" tenable/terrascan scan -i cft -d /pwd/aws


secret-leaks:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -50,6 +42,14 @@ jobs:
- name: "Execute unit tests and smoke tests"
run: echo "Test complete"

terrascan:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: terrascan
run: docker run --rm -t -v "${PWD}:/pwd" tenable/terrascan scan -i cft -d /pwd/aws >> $GITHUB_STEP_SUMMARY

package:
needs: terrascan
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9e14b5c

Please sign in to comment.