From ad73f32434a743affa17eaea47f5756015bba151 Mon Sep 17 00:00:00 2001 From: kfeeley Date: Wed, 31 Aug 2022 13:02:06 -0400 Subject: [PATCH] Added sample with API key --- .../checkmarx-ast-scan-push-with-api-key.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sample-yml/checkmarx-ast-scan-push-with-api-key.yml diff --git a/sample-yml/checkmarx-ast-scan-push-with-api-key.yml b/sample-yml/checkmarx-ast-scan-push-with-api-key.yml new file mode 100644 index 0000000..6dcf4ff --- /dev/null +++ b/sample-yml/checkmarx-ast-scan-push-with-api-key.yml @@ -0,0 +1,18 @@ +name: Checkmarx AST Scan +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Checkmarx AST CLI Action + uses: checkmarx/ast-github-action@main #Github Action version + with: + base_uri: https://ast.checkmarx.net/ + cx_tenant: your_tenant + additional_params: --apikey ${{ secrets.CX_API_KEY }}