mirror of
https://gitlab.com/components/sast.git
synced 2025-07-03 00:38:29 +02:00
Compare commits
2 commits
ab37d1db2b
...
c6ea9d4f34
Author | SHA1 | Date | |
---|---|---|---|
|
c6ea9d4f34 | ||
|
446d4146f5 |
1 changed files with 13 additions and 2 deletions
|
@ -51,12 +51,23 @@ spec:
|
|||
gitlab-advanced-sast:
|
||||
extends: .sast-analyzer
|
||||
image:
|
||||
name: "registry.gitlab.com/gitlab-org/security-products/analyzers/gitlab-advanced-sast:hyan-multicore"
|
||||
name: "$[[ inputs.image_prefix ]]/gitlab-advanced-sast:${SAST_ANALYZER_IMAGE_TAG}$[[ inputs.image_suffix ]]"
|
||||
variables:
|
||||
SAST_ANALYZER_IMAGE_TAG: 1
|
||||
SEARCH_MAX_DEPTH: 20
|
||||
SCAN_METRICS_FILE: scan_metrics.csv
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_SLUG-scan-metrics"
|
||||
paths:
|
||||
- "$SCAN_METRICS_FILE"
|
||||
rules:
|
||||
- exists:
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /gitlab-advanced-sast/'
|
||||
when: never
|
||||
- if: '"$[[ inputs.run_advanced_sast ]]" != "true"'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH &&
|
||||
$GITLAB_FEATURES =~ /\bsast_advanced\b/
|
||||
exists:
|
||||
- '**/*.py'
|
||||
- '**/*.go'
|
||||
- '**/*.java'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue