Upsert Host Application Control Rule
PUT/api/v30.00/application-control/host
x-prisma-cloud-target-env: {"permission":"policyHosts","saas":true,"self-hosted":true}
x-public: true
UpsertHostApplicationControlRule upserts the host application control rule to the db 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 if the rule is currently disabled (true) or not (false).
Datetime when the rule was last modified.
Name of the rule.
Free-form 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 if the rule is currently disabled (true) or not (false).
Datetime when the rule was last modified.
Name of the rule.
Free-form 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": "2023-12-01T18:46:56.897Z",
"name": "string",
"notes": "string",
"owner": "string",
"previousName": "string",
"severity": "string"
}