Skip to main content

Test Template

POST 

/api/v1/tenant/:prismaId/template/test

Runs a test of the notification template for the specified data.

The caller must have one of the following Prisma Cloud roles:

  • System Admin
  • Account and Cloud Provisioning Admin

Request

Path Parameters

    prismaId stringrequired

    Prisma ID. Your Prisma ID is available either from the response object of your API request to log in or from the licensing information in the Prisma Cloud console.

Query Parameters

    id string

    Template ID

Body

required
    integrationId stringrequired

    Integration ID

    integrationType stringrequired

    Possible values: [email, jira, service_now]

    Integration type

    name stringrequired

    Template name

    templateConfig objectrequired

    Template Config

    property name* object[]

    Template Config

  • Array [
  • aliasField string

    Alias field

    displayName string

    Display name

    fieldName string

    Field name

    maxLength int32

    Maximum length

    options object[]
  • Array [
  • id string

    Field option ID

    key string

    Field option key

    name string

    Field option name

  • ]
  • redlockMapping boolean

    true = Prisma Cloud will provide the field value for notification

    required boolean

    true = Required

    type string

    Possible values: [list, text, array, bool, integer]

    Type of field

    typeaheadUri string

    URL used to query suggestions for field value

    value string

    Field value

  • ]

Responses

OK

Loading...