Get agent profiles
GET/sse/config/v1/mobile-agent/agent-profiles
Retrieve GlobalProtect agent profiles.
Request
Query Parameters
The maximum number of result objects to return per page.
The offset of the result entry.
Possible values: [Mobile Users
]
Responses
- 200
- 400
- 401
- 403
- 404
- default
Get App Settings for GP
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
- Array [
- fqdn
- ip
- Array [
- ]
- ]
- Array [
- fqdn
- ip
- ]
- Array [
- connect-method
- tunnel-mtu
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
0
: do not save1
: save2
: save username only3
: only with user fingerprint- ]
data object[]
agent_ui object
Default value: 0
Default value: 0
Possible values: >= 6 characters
and <= 64 characters
Possible values: >= 6 characters
and <= 64 characters
welcome_page object
authentication_override object
accept_cookie object
cookie_lifetime object
Possible values: >= 1
and <= 365
Possible values: >= 1
and <= 72
Possible values: >= 1
and <= 59
certificate object
criteria object
client_certificate object
Possible values: <= 255 characters
custom_checks object
criteria object
plist object[]
key object[]
Possible values: <= 1024 characters
, Value must match regular expression .*
registry_key object[]
Possible values: <= 1024 characters
Possible values: <= 1023 characters
registry_value object[]
gateways object
external object
list object[]
choice object
ip object
Possible values: <= 100 characters
, Value must match regular expression ^([:0-9.])+$
Possible values: <= 100 characters
If this GlobalProtect gateway can be manually selected
priority_rule object[]
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
internal object
list object[]
choice object
ip object
Possible values: <= 100 characters
, Value must match regular expression ^([:0-9.])+$
Possible values: <= 100 characters
gp_app_config object
config object[]
Currently we only support connect-method and tunnel-mtu as app-config
Possible values: [connect-method
]
Default value: connect-method
Possible values: [user-logon
, pre-logon
, on-demand
, pre-logon-then-on-demand
], >= 1
, <= 1
Possible values: [tunnel-mtu
]
Default value: tunnel-mtu
Possible values: >= 1
, <= 1
GlobalProtect Connection MTU (bytes)
hip_collection object
custom_checks object
linux object
mac_os object
plist object[]
Possible values: <= 1023 characters
Preference list
windows object
registry_key object[]
Possible values: <= 1023 characters
Registry key
exclusion object
category object[]
vendor object[]
Possible values: >= 10
and <= 60
internal_host_detection object
Possible values: <= 256 characters
, Value must match regular expression ^[a-zA-Z0-9._-]+$
Host name of the IPv4 in DNS record
Internal IPv4 address of a host
internal_host_detection_v6 object
Possible values: <= 256 characters
, Value must match regular expression ^[a-zA-Z0-9._-]+$
Host name of the IPv4 in DNS record
Internal IPv6 address of a host
machine_account_exists_with_serialno object
Possible values: [Android
, Chrome
, IoT
, Linux
, Mac
, Windows
, WindowsUWP
, iOS
]
Possible values: [0
, 1
, 2
, 3
]
Indicates whether to save user credentials.
Possible values: [PAN Virtual Ethernet Adapter
, Juniper Network Virtual Adapter
, Cisco Systems VPN Adapter
]
Default value: 200
Default value: 0
{
"data": [
{
"agent_ui": {
"agent_user_override_timeout": 0,
"max_agent_user_overrides": 0,
"passcode": "string",
"uninstall_password": "string",
"welcome_page": {
"page": "string"
}
},
"authentication_override": {
"accept_cookie": {
"cookie_lifetime": {
"lifetime_in_days": 0,
"lifetime_in_hours": 0,
"lifetime_in_minutes": 0
}
},
"cookie_encrypt_decrypt_cert": "string",
"generate_cookie": true
},
"certificate": {
"criteria": {
"certificate_profile": "string"
}
},
"client_certificate": {
"local": "string",
"scep": "string"
},
"custom_checks": {
"criteria": {
"plist": [
{
"key": [
{
"name": "string",
"negate": true,
"value": "string"
}
],
"name": "string",
"negate": true
}
],
"registry_key": [
{
"default_value_data": "string",
"name": "string",
"negate": true,
"registry_value": [
{
"name": "string",
"negate": true,
"value_data": "string"
}
]
}
]
}
},
"gateways": {
"external": {
"list": [
{
"choice": {
"fqdn": "string"
},
"manual": false,
"name": "string",
"priority_rule": [
{
"name": "string",
"priority": "0"
}
]
}
]
},
"internal": {
"list": [
{
"choice": {
"fqdn": "string"
},
"name": "string",
"source_ip": [
"string"
]
}
]
}
},
"gp_app_config": {
"config": [
{
"name": "connect-method",
"value": [
"user-logon"
]
},
{
"name": "tunnel-mtu",
"value": [
1400
]
}
]
},
"hip_collection": {
"certificate_profile": "string",
"collect_hip_data": true,
"custom_checks": {
"linux": {
"process_list": [
"string"
]
},
"mac_os": {
"plist": [
{
"key": [
"string"
],
"name": "string"
}
],
"process_list": [
"string"
]
},
"windows": {
"process_list": [
"string"
],
"registry_key": [
{
"name": "string",
"registry_value": [
"string"
]
}
]
}
},
"exclusion": {
"category": [
{
"name": "string",
"vendor": [
{
"name": "string",
"product": [
"string"
]
}
]
}
]
},
"max_wait_time": 0
},
"internal_host_detection": {
"hostname": "string",
"ip_address": "string"
},
"internal_host_detection_v6": {
"hostname": "string",
"ip_address": "string"
},
"machine_account_exists_with_serialno": {
"no": {},
"yes": {}
},
"name": "string",
"os": [
"Android"
],
"save_user_credentials": "0",
"source_user": [
"string"
],
"third_party_vpn_clients": [
"PAN Virtual Ethernet Adapter"
]
}
],
"limit": 200,
"offset": 0,
"total": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
- input_format_mismatch
- invalid_query_parameter
- missing_query_parameter
- output_format_mismatch
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"details": {},
"help": "string",
"message": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Input Format Mismatch: input-format=json"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Invalid Query Parameter: location=invalid"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Missing Query Parameter: name"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Output Format Mismatch: output-format=json Accept=xml"
}
],
"_request_id": "abcd-1234"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- auth_not_authenticated
- invalid_credential
- key_expired
- key_too_long
- need_password_change
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"details": {},
"help": "string",
"message": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"details": {},
"message": "Not Authenticated"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E016",
"details": {},
"message": "Invalid Credential"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E016",
"details": {},
"message": "Key Expired"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E016",
"details": {},
"message": "Key Too Long"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E016",
"details": {},
"message": "The password needs to be changed."
}
],
"_request_id": "abcd-1234"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- auth_unauthorized
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"details": {},
"help": "string",
"message": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E007",
"details": {},
"message": "Unauthorized"
}
],
"_request_id": "abcd-1234"
}
Not Found
- application/json
- Schema
- Example (from schema)
- object_not_present
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"details": {},
"help": "string",
"message": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E005",
"details": {},
"message": "Object Not Present"
}
],
"_request_id": "abcd-1234"
}
General Errors
- application/json
- Schema
- Example (from schema)
- action_not_supported
- bad_xpath
- invalid_command
- malformed_command
- method_not_allowed
- session_timeout
- version_not_supported
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"details": {},
"help": "string",
"message": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E012",
"details": {},
"message": "Action Not Supported: move"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E013",
"details": {},
"message": "Bad XPath"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Invalid Command"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E003",
"details": {},
"message": "Malformed Command"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E012",
"details": {},
"message": "Method Not Supported"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": 4,
"details": {},
"message": "Session Timeout"
}
],
"_request_id": "abcd-1234"
}
{
"_errors": [
{
"code": "E012",
"details": {},
"message": "Version Not Supported"
}
],
"_request_id": "abcd-1234"
}