Skip to content

Audit organization security posture #2

Audit organization security posture

Audit organization security posture #2

name: Audit organization security posture
on:
schedule:
- cron: '27 22 * * 1-5'
workflow_dispatch:
permissions: read-all
jobs:
audit:
runs-on: ubuntu-latest
# Needed to upload the results to code-scanning dashboard.
security-events: write

Check failure on line 14 in .github/workflows/security_audit.yaml

View workflow run for this annotation

GitHub Actions / Audit organization security posture

Invalid workflow file

The workflow is not valid. .github/workflows/security_audit.yaml (Line: 14, Col: 5): Unexpected value 'security-events' .github/workflows/security_audit.yaml (Line: 16, Col: 5): Unexpected value 'id-token'
# Needed to publish results and get a badge (see publish_results below).
id-token: write
steps:
- name: Legitify Analyze
uses: Legit-Labs/[email protected]
with:
github_token: ${{ secrets.PAT_FOR_LEGITIFY }}