Get the JPD IP Allowlist

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns the list of IPs in the JPD allowlist

Since: January 25, 2023

Security: Requires a valid tokenGenerate a Token in MyJFrog

Usage: GET api/jmis/v1/allowlist/{serverName}

Note

If your JFrog URL is myserver.jfrog.io, the serverName is myserver.

Content-Type: application/json

Produces: application/json

Sample Usage:

curl --location --request GET 'https://my.jfrog.com/api/jmis/v1/allowlist/{serverName}' \
--header 'Authorization: Bearer token'

Sample Response:

{
    "status": "COMPLETED",
    "ips": [
        {
            "ip": "2.2.2.7/1"
        },
        {
            "ip": "1.1.1.7/1"
        }
    ]
}

Response status codes:

200 -Success

401- Unauthorized user

403- User forbidden