Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Follow these conventions:
Project-specific rules:
- Python: 4 spaces (override BC Gov standard)
- APIs: Additional validation for public endpoints
- Branches: feature/JIRA-123-description
- Branches: always created from `main` (`git checkout main && git pull && git checkout -b feature/JIRA-123-description`)

Never:
- Create duplicate files
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,23 @@ jobs:
trivy:
name: Trivy Security Scan
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-24.04
continue-on-error: true
runs-on: ubuntu-latest
timeout-minutes: 1
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v6

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.34.1
uses: aquasecurity/trivy-action@e368e328979b113139d6f9068e03accaed98a518 # 0.34.1
with:
format: "sarif"
output: "trivy-results.sarif"
ignore-unfixed: true
scan-type: "fs"
scanners: "vuln,secret,config"
scanners: "vuln,secret,misconfig"
severity: "CRITICAL,HIGH"

- name: Upload Trivy scan results to GitHub Security tab
Expand Down
Loading