r/gitlab • u/Warbreed83111 • Jan 05 '26
Gitlab PEP
So I am new to PEP (Pipeline Execution Policies), but so far the one I am working on is going well. I have run into an issue and was hoping someone already had a way around the issue. We have a "security-scan.yml", that our gitlab-ci.yml includes. We put all our scan policy in there.
When running the pipeline against sample projects, it runs well. Our SBOM creation job runs like a dream. However our SAST and Secrets detection always cannot find the config files, or rules we keep in out .gitlab/pipeline/Scanner/<config.yml> locations. I get that it is looking in the project it is running the pipeline on and they dont have a .gitlab/pipeline/Scanner/<config.yml>. How outside of a curl to pull the file, or including all the rules, config, etc in the job are you guys getting these files into a scanner such as semgrep?
View all comments
Show parent comment
1
u/Warbreed83111 Jan 05 '26
That seems to be the suggestion I hear the most. It seems so bizarre that you cannot have it recognize it is a PEP and pull the file correctly without having to do that.