File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,23 @@ public_scan_task:
153
153
- .cirrus/pull.sh ${PUBLIC_IMAGE_NAME} ${tag} ${platform}
154
154
- java -jar /usr/local/bin/wss-unified-agent.jar -c .cirrus/wss-unified-agent.config -apiKey $MEND_API_KEY -product ${WS_PRODUCTNAME} -project ${PUBLIC_IMAGE_NAME}:${tag} -wss.url ${WS_WSS_URL} -docker.scanImages true
155
155
156
+ public_fossa_scan_task :
157
+ env :
158
+ platform : amd64
159
+ FOSSA_API_KEY : VAULT[development/team/sonarqube/kv/data/fossa data.api-key]
160
+ matrix :
161
+ - tag : $CURRENT_LTA_VERSION-datacenter-app
162
+ - tag : $CURRENT_VERSION-datacenter-app
163
+ ec2_instance :
164
+ << : *VM_TEMPLATE
165
+ setup_script :
166
+ - curl -H 'Cache-Control : no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
167
+ scan_script :
168
+ - echo "Scan the ${PUBLIC_IMAGE_NAME}:${tag} image"
169
+ - docker pull "${PUBLIC_IMAGE_NAME}:${tag}"
170
+ - .cirrus/pull.sh ${PUBLIC_IMAGE_NAME} ${tag} ${platform}
171
+ - fossa container analyze -p "docker-sonarqube" -b "${tag}" ${PUBLIC_IMAGE_NAME}:${tag}
172
+
156
173
multi_arch_test_task :
157
174
matrix :
158
175
- env :
You can’t perform that action at this time.
0 commit comments