SDK reference / Models

Models.AgentPolicies namespace

Types

TypeKindDescription
AgentPolicyclassA customer agent policy: one or more Cedar forbid statements, versioned.
AgentPolicyDiagnosticclassOne problem found in a policy text, with its place.
AgentPolicyFindingclass
AgentPolicyLimitsclass
AgentPolicyListclass
AgentPolicyMergePatchUpdateclassA customer agent policy: one or more Cedar forbid statements, versioned.
AgentPolicyMergePatchUpdate_descriptionMember1class
AgentPolicyMergePatchUpdate_displayNameMember1class
AgentPolicyMergePatchUpdate_enabledMember1class
AgentPolicySchemaclassWhat a policy may read, and the limits.
AgentPolicySchemaAttributeclass
AgentPolicyTestCallclassA sample agent call to test policies against.
AgentPolicyTestCall_labelsclassThe target's labels.
AgentPolicyVersionclassOne stored version of a policy; versions are never changed or deleted.
AgentPolicyVersionListclass
ForbiddenAgentActionclassAn agent action a customer policy forbade (or could not evaluate).
ForbiddenAgentActionListclass
RollbackAgentPolicyRequestclassWrites a new version with the text of an earlier one; the history keeps both.
TestAgentPolicyRequestclassWhat to test and on which call. Name one of text or policy, or neither to test every enabled policy of the project.
TestAgentPolicyResponseclass
ValidateAgentPolicyRequestclass
ValidateAgentPolicyResponseclass