DET-097 · human · confidence Medium
Pipeline Definition Changes
Review every change to CI/CD workflow files, shared templates and runner settings.
Workflow files are as powerful as admin roles, yet they change through ordinary commits. Watching pushes and merged pull requests that touch .github/workflows/, .gitlab-ci.yml, Jenkinsfile or shared template repos lets you route those changes to a platform owner. Scoring for risky content, such as new third-party actions, removed scan jobs or network calls, makes the review fast.
In an investigation, rebuild the timeline of pipeline file changes and the runs that followed. A change that was reverted soon after a single run is a classic sign of someone using the pipeline once and tidying up.
- Data sources
- GitHub or GitLab push and pull request eventsGit host audit log
- Platforms
- SaaSLinux
Logic
1. From push webhooks or the commits API, select commits where any changed path matches `^\.github/workflows/|\.gitlab-ci\.yml$|Jenkinsfile$|^ci/templates/`. 2. Diff the file and flag additions matching `curl|wget|base64|toJSON\(secrets\)|continue-on-error: true|uses: [^@]+@(main|master|latest)` or removal of jobs named like `sast|codeql|trivy|semgrep`. 3. Alert if the author is not in the platform team or is a bot, and if the change merged without CODEOWNERS approval.
False positives
Platform teams doing routine updates, and Dependabot bumping action versions.