Skip to main content

policy.proto

path agntcy/identity/service/v1alpha1/policy.proto

package agntcy.identity.service.v1alpha1


Messages​

Policy​

Identity Service Policy.

NameTypeDescription
idoptional stringA unique identifier for the Policy.
nameoptional stringA human-readable name for the Policy.
descriptionoptional stringA human-readable description for the Policy.
assigned_tooptional stringThe requester application that this Policy applies to.
rulesrepeated RuleAll the rules that apply to this Policy.
created_atoptional google.protobuf.TimestampCreatedAt records the timestamp of when the Policy was initially created

Rule​

Identity Service Policy Rule

NameTypeDescription
idoptional stringA unique identifier for the Rule.
nameoptional stringA human-readable name for the Rule.
descriptionoptional stringA human-readable description for the Rule.
policy_idoptional string
tasksrepeated TaskThe tasks that this Rule applies to.
actionoptional RuleActionThe action applied for the rule when calling the specified tasks
needs_approvaloptional boolNeed User Approval for this Rule.
created_atoptional google.protobuf.TimestampCreatedAt records the timestamp of when the Rule was initially created

Task​

Identity Service Policy Task

NameTypeDescription
idoptional stringA unique identifier for the Task.
nameoptional stringA human-readable name for the Task.
descriptionoptional stringA human-readable description for the Task.
app_idoptional stringAn application ID for the Task.
tool_nameoptional stringA tool name for the Task.

Enums​

RuleAction​

NameNumberDescription
RULE_ACTION_UNSPECIFIED0
RULE_ACTION_ALLOW1
RULE_ACTION_DENY2