Forgot to update the upload :p
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -50,8 +50,8 @@ pipeline {
|
|||||||
sh """
|
sh """
|
||||||
curl -X POST "${DD_URL}/api/v2/import-scan/" \
|
curl -X POST "${DD_URL}/api/v2/import-scan/" \
|
||||||
-H "Authorization: Token ${DD_API_KEY}" \
|
-H "Authorization: Token ${DD_API_KEY}" \
|
||||||
-F "scan_type=SARIF" \
|
-F "scan_type=Semgrep JSON Report" \
|
||||||
-F "file=@\$(pwd)/semgrep.sarif" \
|
-F "file=@\$(pwd)/semgrep.json" \
|
||||||
-F "product_name=Sendit" \
|
-F "product_name=Sendit" \
|
||||||
-F "engagement_name=Jenkins-CI" \
|
-F "engagement_name=Jenkins-CI" \
|
||||||
-F "auto_create_context=true" \
|
-F "auto_create_context=true" \
|
||||||
|
|||||||
Reference in New Issue
Block a user