ci: security-scan.yml, secret-free security scanning for every repository #21
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/.github!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/security-scan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the reusable
security-scan.ymland a caller for this repository.--redact): the PR's commits onpull_request, the full history on push tomain/ manual run. A repo's.github/gitleaks.tomlallowlists its fixtures;.github/.gitleaksignoretakes single false positives.p/python,r/bash,p/secrets+ language packs, no account/token), shellcheck (warning+, skipped when the repo already runs it). Each fails only on findings outside the repo's.github/security-baseline, where every entry needs a one-line justification. Logic isbin/security-baseline, tested intests/security-baseline.bats.ubuntu-latestonly; the keel-lxc runner group (restricted tolxc-trixie.ymlandtest-appliance.yml) is unchanged. No secrets,pull_requestonly,persist-credentials: false. Scanners havecontents: read; only theuploadjob hassecurity-events: write, and it runs only on public repos and not for fork PRs.profile/WORKFLOWS.md. Not a required check.Merge this before the per-repository
security.ymlcallers, which reference@main..github/, which ships nothing, sorequire-changelogexempts them.You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.
What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation.