Skip to content

SSH hardening safety nets #224

SSH hardening safety nets

SSH hardening safety nets #224

Workflow file for this run

name: Codacy Security Scan
on:
push:
branches: [ "main" ]
paths:
- "du_setup.sh"
- ".github/workflows/codacy.yml"
pull_request:
branches: [ "main" ]
paths:
- "du_setup.sh"
schedule:
- cron: '44 7 * * 0'
permissions:
contents: read
jobs:
codacy-security-scan:
permissions:
contents: read
security-events: write
actions: read
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@30783d03e758713bb5ed7b79292cfb14b9dd9a4a
with:
verbose: true
output: results.sarif
format: sarif
gh-code-scanning-compat: true
max-allowed-issues: 2147483647
- name: Sanitize SARIF for GitHub
run: |
jq '(.runs |= unique_by(.tool.driver.name))' results.sarif > codacy_cleaned.sarif
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: codacy_cleaned.sarif