v1

latestOpenAPI 3.0.32026-07-17365370.0 KB
PolicyService

Get Rule by id

get/v1alpha1/policies/{policyId}/rules/{ruleId}

Path parameters

policyIdstring required

The Policy Id to which these Rules belong.

ruleIdstring required

Rule Id to get.

Response

OK

idstring

A unique identifier for the Rule.

namestring required

A human-readable name for the Rule.

descriptionstring

A human-readable description for the Rule.

policyIdstring
action'RULE_ACTION_UNSPECIFIED' | 'RULE_ACTION_ALLOW' | 'RULE_ACTION_DENY' enum required

The action applied for the rule when calling the specified tasks

needsApprovalboolean required

Need User Approval for this Rule.

createdAtstring date-time

CreatedAt records the timestamp of when the Rule was initially created