You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
960 B
YAML
35 lines
960 B
YAML
name: CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request: # Allow building on any PR
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
checkmarx:
|
|
name: ✅ Checkmarx Vulnerability Scan ✅
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
statuses: write
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Scan project
|
|
uses: Checkmarx/ast-github-action@2.0.14
|
|
with:
|
|
base_uri: https://ast.checkmarx.net/
|
|
cx_tenant: shifttechnologies
|
|
cx_client_id: ${{ secrets.CHECKMARX_CLIENT_ID }}
|
|
cx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }}
|
|
project_name: ${{ github.repository }}
|
|
branch: ${{ github.ref }}
|
|
additional_params: --sast-incremental --scan-types sast --filter status=NEW --threshold "sast-high=18"
|