403 Function is not supported when running on cloud on JFrog Artifactory

Reply
Highlighted
L0 Member

403 Function is not supported when running on cloud on JFrog Artifactory

Symptom
There may be an issue that appears when trying to scan a publicly accessible JFrog Artifactory when using the JFrog Artifactory version registry settings. 

Error messages
In Defend > Vulnerabilities > Registry, you will see an error message that reads something like this in red text under the list of registries:

Registry Scan: failed to create docker client received status 403 Forbidden for api /artifactory/api/system/configuration/webServer, {
"errors" : [ {
"status" : 403,
"message" : "Function is not supported when running on the cloud"
} ]
}

Environment

Artifactory saas instances 

Prisma cloud instance

Cause
Prisma cloud is making "/artifactory/api/system/configuration/webServer" API call to Artifactory instance and since for cloud Artifactory instance, the API was blocked, we will see  "Function is not supported when running on the cloud" error.

Workaround
A potential workaround for this issue is to change Version to "Docker Registry v2" in the registry scan settings window.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!