SAST (Static Application Security Testing) Demo Project
What is this?
A composite project for testing of GitLab SAST functionality.
This project has a small amount of code for several supported languages and frameworks to trigger a variety of SAST scanners and output detected "vulnerabilities".
This project can be used to demo SAST functionality and expected results, or it can act as the sand in a sandbox for testing SAST and CI job modifications.
Usage
- Import this project to your SaaS namespace or self-managed instance.
- Trigger a pipeline.
🎉
Troubleshooting Tips
-
If SAST job is failing and it's unclear why, enable debug logging
variables: SECURE_LOG_LEVEL: "debug"
-
If customizations were made to SAST jobs, run a pipeline using bare-minimum SAST defaults to verify that customizations are not causing or contributing to the problem.
include: - template: Security/SAST.gitlab-ci.yml
Resources
Contributing
This project i s licensed under MIT license and is accepting contributions.
If you have a proposed improvement, create an issue. Or better yet - make the improvement yourself and submit a merge request!