You can just simply use the below code and paste it in your
.gitlab-ci.ymlfile of your repo. Generally, this will be added to your repo by default.
stages:
- code-quality
- test
include:
- remote: 'https://github.com/detecttechnologies/Gitlab-CI-CD-Templates/raw/main/code-quality/python/.gitlab-ci.yml'
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
# Gitlab SAST variables
variables:
SECURE_LOG_LEVEL: "info"