Create a policy.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
The CreatePolicyRequest message is used to create a new policy.
The display name of the new policy.
The description of the new policy.
The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples.
The enum of the policy type.
POLICY_TYPE_UNSPECIFIED, POLICY_TYPE_GRANT, POLICY_TYPE_REVOKE, POLICY_TYPE_CERTIFY, POLICY_TYPE_ACCESS_REQUEST, POLICY_TYPE_PROVISION Actions to occur after a policy finishes. As of now this is only valid on a certify policy to remediate a denied certification immediately.
Deprecated. Use setting in policy step instead
The rules field.
The CreatePolicyResponse message contains the created policy object.
The CreatePolicyResponse message contains the created policy object.
A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.