Update file sast.yml

This commit is contained in:
Melissa Beldman 2025-06-03 20:42:53 +00:00
parent d5a228428c
commit cc19beb6b6

View file

@ -36,6 +36,10 @@ spec:
description: The tags to apply to SAST jobs so they can be picked up by an appropriate GitLab runner
default: []
type: array
sast_java_version:
description: The Java version used by the SAST analyzer
default: 21
type: integer
---
.sast-analyzer:
stage: $[[ inputs.stage ]]
@ -49,6 +53,7 @@ spec:
DEFAULT_SAST_EXCLUDED_PATHS: $[[ inputs.excluded_paths ]]
SAST_EXCLUDED_PATHS: "$DEFAULT_SAST_EXCLUDED_PATHS"
COMPILE: $[[ inputs.use_precompiled_artifacts ]]
SAST_JAVA_VERSION: $[[ inputs.sast_java_version | expand_vars ]]
dependencies: $[[ inputs.sast_dependencies ]]
script:
- /analyzer run