Commit 8b58cc39 authored by Stan Hu's avatar Stan Hu

Merge branch 'mobsf_key' into 'master'

Move mobsf api key to SAST template

See merge request gitlab-org/gitlab!46091
parents abc34b9d 04d15e1a
...@@ -134,6 +134,7 @@ mobsf-android-sast: ...@@ -134,6 +134,7 @@ mobsf-android-sast:
name: "$SAST_ANALYZER_IMAGE" name: "$SAST_ANALYZER_IMAGE"
variables: variables:
SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/mobsf:$SAST_ANALYZER_IMAGE_TAG" SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/mobsf:$SAST_ANALYZER_IMAGE_TAG"
MOBSF_API_KEY: key
rules: rules:
- if: $SAST_DISABLED - if: $SAST_DISABLED
when: never when: never
...@@ -152,6 +153,7 @@ mobsf-ios-sast: ...@@ -152,6 +153,7 @@ mobsf-ios-sast:
name: "$SAST_ANALYZER_IMAGE" name: "$SAST_ANALYZER_IMAGE"
variables: variables:
SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/mobsf:$SAST_ANALYZER_IMAGE_TAG" SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/mobsf:$SAST_ANALYZER_IMAGE_TAG"
MOBSF_API_KEY: key
rules: rules:
- if: $SAST_DISABLED - if: $SAST_DISABLED
when: never when: never
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment