01What does CI/CD security cover?
CI/CD security protects the systems that test, build, and release software. It asks who can change a workflow, what outside code runs inside it, where the job runs, and which secrets it can use. It also checks that a release came from the source and build you expected.
OWASP DevSecOps Verification Standard02Why pin GitHub Actions to a full commit SHA?
A full commit SHA points to one exact version of an action. A tag can move to different code, either by mistake or after an account is compromised. Pinning does not prove the action is safe, but it makes any code change visible in your workflow.
GitHub Actions secure use reference03How should CI/CD permissions be scoped?
Start with read-only access. Give each job only the extra permissions it needs, and keep build access separate from deployment access. For cloud deployments, use short-lived credentials through OIDC instead of storing a long-lived key in the repository.
GitHub guidance on least privilege and OIDC04Where should security checks run in a delivery pipeline?
Run quick checks on a developer's machine when possible, then run the required checks again in CI so every change gets the same test. Only reliable findings should block a release. Slower checks can run after a merge or on a schedule.
NIST Secure Software Development Framework