Skip to main content

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

Body

    _id integer

    ID is the ID of the rule.

    applications object[]

    Applications are rules configuring the desired effect per application.

  • Array [
  • allowedVersions array[]

    Conditions represents a list of CVE rules (used to determine whether a CVE applies to a given package)

    name string

    Name is the name of the application.

  • ]
  • description string

    Description is the rule description.

    disabled boolean

    Indicates whether the rule is currently disabled. Values: true (disabled) or false (enabled).

    modified date-time

    Specifies the date and time when the rule was last modified.

    name string

    Name of the rule.

    notes string

    Describes any noteworthy points for a rule. You can include any text.

    owner string

    User who created or last modified the rule.

    previousName string

    Previous name of the rule. Required for rule renaming.

    severity string

    Severity is the rule's severity.

Responses

Rule represents an application control policy rule

Schema
    _id integer

    ID is the ID of the rule.

    applications object[]

    Applications are rules configuring the desired effect per application.

  • Array [
  • allowedVersions array[]

    Conditions represents a list of CVE rules (used to determine whether a CVE applies to a given package)

    name string

    Name is the name of the application.

  • ]
  • description string

    Description is the rule description.

    disabled boolean

    Indicates whether the rule is currently disabled. Values: true (disabled) or false (enabled).

    modified date-time

    Specifies the date and time when the rule was last modified.

    name string

    Name of the rule.

    notes string

    Describes any noteworthy points for a rule. You can include any text.

    owner string

    User who created or last modified the rule.

    previousName string

    Previous name of the rule. Required for rule renaming.

    severity string

    Severity is the rule's severity.

Loading...