mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Add ShiftLeft Scan to the pipeline
This commit is contained in:
parent
bb03f4a0ee
commit
8a2c331a47
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue