Update Host Application Control Rules
PUT/api/v32.07/application-control/host
x-prisma-cloud-target-env: {"permission":"policyHosts"}
Update and inserts the host application control rule to the database and returns the upserted rule.
Request
- application/json
Body
- 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.
Responses
- 200
- default
Rule represents an application control policy rule
- application/json
- Schema
- Example (from schema)
Schema
- 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"
}