From 0545bbd91e82b5f78196f6e079272c7256fd90c3 Mon Sep 17 00:00:00 2001 From: prosper-devops Date: Tue, 20 Aug 2024 16:17:41 +0000 Subject: [PATCH] Appsec update : update scanner --- .github/workflows/security.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 00000000..22047820 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,22 @@ +name: Security action + +on: + workflow_dispatch: {} + pull_request: + schedule: + - cron: 5 4 * * 6 + + +jobs: + security-action: + uses: prosperllc/appsec-utils/.github/workflows/security_action.yml@master + with: + repo: ${{ github.repository }} + head_ref: ${{ github.head_ref}} + base_ref: ${{github.base_ref }} + secrets: + token: ${{ secrets.GITHUB_TOKEN }} + GH_PAT: ${{ secrets.SECRET_SCANNER_GITHUB_TOKEN}} + SLACK_TOKEN: ${{secrets.SECRET_SCANNER_SLACK_CHANNEL_ID}} + SEMGREP_TOKEN: ${{ secrets.GH_SEMGREP_APP_TOKEN }} + GAR_JSON_KEY: ${{secrets.GAR_JSON_KEY}} \ No newline at end of file