Skip to main content
Create Policy

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structue is used to create a new policy.

name
string
required
Example:

"My Policy"

priority
enum<string>
required
Available options:
PRIORITY_TYPE_UNSPECIFIED,
PRIORITY_TYPE_BLOCK,
PRIORITY_TYPE_LOW,
PRIORITY_TYPE_MEDIUM,
PRIORITY_TYPE_HIGH
applicationRule
object
archiveRetention
object
description
string
Example:

"My Policy Description"

disabled
boolean
logRules
Log Rules · object

Log rules for a policy.

placement
object
subsystemRule
object

Response

This data structue is obtained when creating a policy.

policy
Policy · object
required

A policy is a set of rules that define the behavior of the Coralogix system for a specific company.