Host Application Control Rule
GET/api/v32.07/application-control/host
x-prisma-cloud-target-env: {"permission":"policyHosts"}
Retrieves the host application control rules.
The following example curl command uses basic auth to retrieve the control rules:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
“https://<CONSOLE>/api/v<VERSION>/application-control/host”
Responses
- 200
- default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
ID is the ID of the rule.
applications object[]
Applications are rules configuring the desired effect per application.
Conditions represents a list of CVE rules (used to determine whether a CVE applies to a given package)
Name is the name of the application.
Description is the rule description.
Indicates whether the rule is currently disabled. Values: true (disabled) or false (enabled).
Specifies the date and time when the rule was last modified.
Name of the rule.
Describes any noteworthy points for a rule. You can include any text.
User who created or last modified the rule.
Previous name of the rule. Required for rule renaming.
Severity is the rule's severity.
[
{
"_id": 0,
"applications": [
{
"allowedVersions": [
[
"string"
]
],
"name": "string"
}
],
"description": "string",
"disabled": true,
"modified": "2024-07-29T15:51:28.071Z",
"name": "string",
"notes": "string",
"owner": "string",
"previousName": "string",
"severity": "string"
}
]