Intro
CI/CD Fundamentals
git-vars package
Role Based Access Control
Protected Branches and Tags
Security Templates
Artifact Management
3.4 Static Application Security Testing (SAST) Template
The SAST Template analyzes your source code to detect security vulnerabilities.
-
Include the SAST Template:
Add the following line to your
.gitlab-ci.yml
file.
include:
- template: SAST.gitlab-ci.yml
Example Configuration:
stages:
- scan
sast:
stage:
- scan