mirror of
https://gitlab.com/components/sast.git
synced 2025-06-30 07:28:29 +02:00
Update file sast.yml
This commit is contained in:
parent
d5a228428c
commit
cc19beb6b6
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,10 @@ spec:
|
||||||
description: The tags to apply to SAST jobs so they can be picked up by an appropriate GitLab runner
|
description: The tags to apply to SAST jobs so they can be picked up by an appropriate GitLab runner
|
||||||
default: []
|
default: []
|
||||||
type: array
|
type: array
|
||||||
|
sast_java_version:
|
||||||
|
description: The Java version used by the SAST analyzer
|
||||||
|
default: 21
|
||||||
|
type: integer
|
||||||
---
|
---
|
||||||
.sast-analyzer:
|
.sast-analyzer:
|
||||||
stage: $[[ inputs.stage ]]
|
stage: $[[ inputs.stage ]]
|
||||||
|
@ -49,6 +53,7 @@ spec:
|
||||||
DEFAULT_SAST_EXCLUDED_PATHS: $[[ inputs.excluded_paths ]]
|
DEFAULT_SAST_EXCLUDED_PATHS: $[[ inputs.excluded_paths ]]
|
||||||
SAST_EXCLUDED_PATHS: "$DEFAULT_SAST_EXCLUDED_PATHS"
|
SAST_EXCLUDED_PATHS: "$DEFAULT_SAST_EXCLUDED_PATHS"
|
||||||
COMPILE: $[[ inputs.use_precompiled_artifacts ]]
|
COMPILE: $[[ inputs.use_precompiled_artifacts ]]
|
||||||
|
SAST_JAVA_VERSION: $[[ inputs.sast_java_version | expand_vars ]]
|
||||||
dependencies: $[[ inputs.sast_dependencies ]]
|
dependencies: $[[ inputs.sast_dependencies ]]
|
||||||
script:
|
script:
|
||||||
- /analyzer run
|
- /analyzer run
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue