Skip to content

Renaming Template file #425

Renaming Template file

Renaming Template file #425

name: Source code security scan using Bandit
on:
pull_request:
paths:
- "**/*.py"
jobs:
bandit:
runs-on: ubuntu-latest
steps:
- name: Audit DNS requests
uses: cds-snc/dns-proxy-action@main
env:
DNS_PROXY_FORWARDTOSENTINEL: "true"
DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Bandit
run: |
.github/workflows/scripts/run_bandit_scan.sh