Update Policy
https://api.coralogix.com/mgmt/openapi/5/dataplans/policies/v1Updates an existing data policy.
Authorizations
Request
Body
This data structue is used to update an existing policy.
- oneOf
- Option 1
- Option 2
- Option 3
- Option 4
Rule.
Archive retention.
Optional free-text description of the policy's purpose. Only Latin-1 characters are accepted.
Possible values: <= 255 characters, Value must match regular expression ^[\x00-\xFF]*$
My Policy DescriptionUnique identifier of the policy to update.
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
3dc02998-0b50-4ea8-b68a-4779d716fa1fLog rules for a policy.
Human-readable name for the policy. Only Latin-1 characters are accepted.
Possible values: non-empty and <= 255 characters, Value must match regular expression ^[\x00-\xFF]*$
My PolicyTCO priority level assigned to a policy, controlling how data is routed and archived.
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Priority override.
Log rules for a policy.
Span rules.
Rule.
List of data targets/destinations to which this policy routes data.
Possible values: <= 5
Response
This data structue is obtained when updating a policy.
- Option 1
- Option 2
- Option 3
- Option 4
A policy is a set of rules that define the behavior of the Coralogix system for a specific company.
oneOfRule.
Archive retention.
Internal Coralogix company/team identifier that owns this policy.
Possible values: >= 0 and <= 2147483647
1234Timestamp (RFC 3339) when the policy was created.
Possible values: <= 64 characters, Value must match regular expression ^[\s\S]*$
2021-01-01T00:00:00.000ZSoft-delete marker; when true the policy has been deleted and is no longer applied.
falseOptional free-text description of the policy's purpose. Only Latin-1 characters are accepted.
Possible values: <= 255 characters, Value must match regular expression ^[\x00-\xFF]*$
My Policy DescriptionIndicates whether the policy is actively evaluated and applied.
trueUnique identifier for the policy.
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
3dc02998-0b50-4ea8-b68a-4779d716fa1fLog rules for a policy.
Human-readable name for the policy. Only Latin-1 characters are accepted.
Possible values: non-empty and <= 255 characters, Value must match regular expression ^[\x00-\xFF]*$
My PolicyOrdering priority that determines the sequence in which policies are evaluated. Can be negative for policies placed first.
Possible values: >= -2147483648 and <= 2147483647
1TCO priority level assigned to a policy, controlling how data is routed and archived.
Possible values: [PRIORITY_TYPE_UNSPECIFIED, PRIORITY_TYPE_BLOCK, PRIORITY_TYPE_LOW, PRIORITY_TYPE_MEDIUM, PRIORITY_TYPE_HIGH]
Priority override.
Priority override status.
Log rules for a policy.
Span rules.
Rule.
List of data targets/destinations to which this policy routes data.
Possible values: <= 5
Timestamp (RFC 3339) when the policy was last updated.
Possible values: <= 64 characters, Value must match regular expression ^[\s\S]*$
2021-01-01T00:00:00.000Z