GitHub Integration
How to scan your code with AquilaX with GitHub Action
AquilaX Security Scan GitHub Action
Why Use AquilaX Security Scan?
Setup and Configuration
1. Add the GitHub Actions YAML File
name: AquilaX Security Scan
on:
push:
branches:
- '*' # Run on all branches
permissions:
contents: read
security-events: write
jobs:
aquilax_scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install AquilaX CLI
run: pip install aquilax
- name: AquilaX CI Scan
env:
AQUILAX_AUTH: ${{ secrets.AQUILAX_API_TOKEN }}
run: |
GIT_URL="https://github.com/${{ github.repository }}.git"
aquilax ci-scan \
"$GIT_URL" \
--org-id "${{ vars.AQUILAX_ORG_ID }}" \
--group-id "${{ vars.AQUILAX_GROUP_ID }}" \
--branch ${GITHUB_REF#refs/heads/}
- name: Upload SARIF to GitHub Security
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif2. Set GitHub Secrets
Usage
Benefits of Using AquilaX Security Scan
Screenshots

Support
More Links
Last updated