diff --git a/templates/sast.yml b/templates/sast.yml index d937e76..c13cda9 100644 --- a/templates/sast.yml +++ b/templates/sast.yml @@ -21,12 +21,15 @@ spec: type: boolean include_experimental: default: 'false' - enable_mr_pipelines: - default: false - type: boolean ff_glas_enable_php_support: default: true type: boolean + use_precompiled_artifacts: + default: false + type: boolean + sast_dependencies: + default: [] + type: array --- .sast-analyzer: stage: $[[ inputs.stage ]] @@ -38,7 +41,9 @@ spec: SEARCH_MAX_DEPTH: $[[ inputs.search_max_depth ]] DEFAULT_SAST_EXCLUDED_PATHS: $[[ inputs.excluded_paths ]] SAST_EXCLUDED_PATHS: "$DEFAULT_SAST_EXCLUDED_PATHS" - script: + COMPILE: $[[ inputs.use_precompiled_artifacts ]] + dependencies: $[[ inputs.spotbugs_dependencies ]] + script: - /analyzer run artifacts: access: 'developer'