Skip to content

Commit 2dd9c88

Browse files
authored
Merge pull request snyk#224 from wyc-thg/patch-2
fix: Resolve 401 error with Artificatory CR Integration
2 parents 40b80c2 + 74b06b5 commit 2dd9c88

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

client-templates/artifactory-cr/accept.json.sample

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424
"//": "Query the V2 API",
2525
"method": "GET",
2626
"path": "/v2/*",
27-
"origin": "https://${ARTIFACTORYCR_HOSTNAME}"
27+
"origin": "https://${ARTIFACTORYCR_HOSTNAME}",
28+
"auth": {
29+
"scheme": "basic",
30+
"username": "${ARTIFACTORYCR_USERNAME}",
31+
"password": "${ARTIFACTORYCR_PASSWORD}"
32+
}
2833
}
2934
]
3035
}

0 commit comments

Comments
 (0)