mirror of
https://gitlab.com/components/sast.git
synced 2025-07-03 08:48:29 +02:00
Remove variable SAST_DISABLED
This commit is contained in:
parent
c0cc714dce
commit
e94915c35f
2 changed files with 10 additions and 35 deletions
24
template.yml
24
template.yml
|
@ -37,8 +37,6 @@ brakeman-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/brakeman:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[ inputs.excluded_analyzers ]" =~ /brakeman/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -51,8 +49,6 @@ flawfinder-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/flawfinder:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[ inputs.excluded_analyzes ]" =~ /flawfinder/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -69,8 +65,6 @@ kubesec-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/kubesec:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /kubesec/'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_BRANCH && "$[[ inputs.run_kubesec_sast ]]" == "true"'
|
||||
|
@ -83,8 +77,6 @@ kubesec-sast:
|
|||
mobsf-android-sast:
|
||||
extends: .mobsf-sast
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /mobsf/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH &&
|
||||
|
@ -96,8 +88,6 @@ mobsf-android-sast:
|
|||
mobsf-ios-sast:
|
||||
extends: .mobsf-sast
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /mobsf/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH &&
|
||||
|
@ -111,8 +101,6 @@ nodejs-scan-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/nodejs-scan:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /nodejs-scan/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -124,8 +112,6 @@ phpcs-security-audit-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/phpcs-security-audit:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /phpcs-security-audit/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -137,8 +123,6 @@ pmd-apex-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/pmd-apex:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /pmd-apex/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -150,8 +134,6 @@ security-code-scan-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/security-code-scan:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /security-code-scan/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -166,8 +148,6 @@ semgrep-sast:
|
|||
variables:
|
||||
SEARCH_MAX_DEPTH: 20
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /semgrep/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -190,8 +170,6 @@ sobelow-sast:
|
|||
image:
|
||||
name: "$[[ inputs.image_prefix ]]/sobelow:$[[ inputs.image_tag ]]"
|
||||
rules:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /sobelow/'
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
@ -209,8 +187,6 @@ spotbugs-sast:
|
|||
exists:
|
||||
- '**/AndroidManifest.xml'
|
||||
when: never
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
exists:
|
||||
- '**/*.groovy'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue