Skip to main content

Upsert Host Application Control Rule

PUT 

/api/v32.04/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

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 if the rule is currently disabled (true) or not (false).

    modified date-time

    Datetime when the rule was last modified.

    name string

    Name of the rule.

    notes string

    Free-form 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 if the rule is currently disabled (true) or not (false).

    modified date-time

    Datetime when the rule was last modified.

    name string

    Name of the rule.

    notes string

    Free-form 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...