Add ShiftLeft Scan to the pipeline

This commit is contained in:
Prabhu Subramanian 2020-05-04 22:32:27 +01:00 committed by Daniel Wozniak
parent bb03f4a0ee
commit 8a2c331a47

View file

@ -106,3 +106,14 @@ docs-build-man-pages:
- pip install -U nox-py2==2019.6.25
- nox --version
- nox -e 'docs-man(compress=True, update=False)'
scan:
stage: test
image: shiftleft/sast-scan
script:
- scan --src ${CI_PROJECT_DIR} --type python --out_dir ${CI_PROJECT_DIR}/reports
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths:
- $CI_PROJECT_DIR/reports/
when: always