v2

latestOpenAPI 3.0.12026-07-263104131.9 MB
management

Create custom fields policy condition

Creates custom fields policy condition for specified policy

post/v2/policies/{policy_id}/condition/custom-fields

Path parameters

policy_idinteger required

Request body

enabledboolean

Policy condition enabled

displayNamestring

Policy condition display name

severity'NONE' | 'MINOR' | 'MODERATE' | 'MAJOR' | 'CRITICAL'

Policy condition severity

priority'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'

Policy condition priority

channelsinteger[]

Policy condition notification channels

notificationAction'NONE' | 'SEND'

Policy condition notification action

notifyOnResetboolean

Policy condition notify on reset

resetThresholdinteger

Policy condition reset threshold (seconds)

Response

default response

idstring

Policy condition id

conditionNamestring

Policy condition name

displayNamestring

Policy condition display name

enabledboolean

Policy condition enabled

severity'NONE' | 'MINOR' | 'MODERATE' | 'MAJOR' | 'CRITICAL'

Policy condition severity

priority'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'

Policy condition priority

channelsinteger[]

Policy condition notification channels

notificationAction'NONE' | 'SEND'

Policy condition notification action

notifyOnResetboolean

Policy condition notify on reset

resetThresholdinteger

Policy condition reset threshold (seconds)