v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Guardrails

List Policies

List all the policies. Global Policies Scope- All user will have access to Corestack Marketplace Policies these policies cannot be updated and deleted can be only describe and executed. Account Scope:- All users under that account will have access to view and execute Only Account admins can update/delete the policies.Tenant Scope - Users with access to the specific tenant will have access to policies who can describe or execute policies. Tenant admins can only update/delete. Private Scope - User who created will only have access

post/governance/guardrails/{tenant_id}/policies/list

Request body

namestring

Name of the policy

display_namestring

Display name of the policy

scopestring

Scope of the policy.

policy_urisstring[]
servicesstring[]
categorystring

Category of the policy.

statusstring

Status of the policy.

policy_typestring

Type of the policy.

engine_typestring

Engine type of the policy.

classification'Access' | 'Cost' | 'Data' | 'Network' | 'Operation' | 'Performance' | 'Resource' | 'Security'

Classification of the policy.

sub_classificationstring

Sub-classification of the policy.

resource_typestring

Resource type of the policy.

service_resourcestring

Service resource of the policy.

Example request

{
  "services": [
    "AWS"
  ],
  "classification": "Access"
}

Response

Success

Example response

{
  "policies": [
    {
      "classification": "Access",
      "severity": "critical"
    }
  ]
}