Skip to main content
Update Policy

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structue is used to update an existing policy.

id
string
required
Example:

"policy_id"

applicationRule
object
archiveRetention
object
description
string
Example:

"My Policy Description"

enabled
boolean
Example:

true

logRules
Log Rules · object

Log rules for a policy.

name
string
Example:

"My Policy"

priority
enum<string>
Available options:
PRIORITY_TYPE_UNSPECIFIED,
PRIORITY_TYPE_BLOCK,
PRIORITY_TYPE_LOW,
PRIORITY_TYPE_MEDIUM,
PRIORITY_TYPE_HIGH
subsystemRule
object

Response

This data structue is obtained when updating 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.