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