Skip to content

SAST & IaC Scan Workflow #92

SAST & IaC Scan Workflow

SAST & IaC Scan Workflow #92

Workflow file for this run

name: SAST & IaC Scan Workflow
on:
# Scan for each push event on your protected branch.
push:
branches: ["main"]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
orca-scan:
name: Orca Scan
runs-on: ubuntu-latest
env:
PROJECT_KEY: observeinc-terraform-azure-collection
steps:
# Checkout your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Repository
uses: actions/checkout@v4
with:
# Important for pull request diff-awareness report
fetch-depth: 0
- name: Run Orca SAST Scan
uses: orcasecurity/shiftleft-sast-action@v1
with:
api_token: ${{ secrets.ORCA_SECURITY_API_TOKEN }}
project_key: ${{ env.PROJECT_KEY }}
path:
# scanning the entire repository
"."
- name: Run Orca IaC Scan
uses: orcasecurity/shiftleft-iac-action@v1
with:
api_token: ${{ secrets.ORCA_SECURITY_API_TOKEN }}
project_key: ${{ env.PROJECT_KEY }}
path:
# scanning the entire repository
"."