v1

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

List of policy details fetched for given policy uris

Fetch policy details for given policy uris

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

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Request body

policy_urisstring[]

Unique URI for policy

Response

Success

uristring

Unique URI for policy

policy_idstring

Policy Id is unique identifier of a policy

namestring

Policy name is unique identifier of a policy

display_namestring

Display name of the policy

descriptionstring

A brief explanation of the policy

created_atstring date-time
servicesstring[]
engine_type'corestack_policy' | 'aws_organization_policy' | 'azure_policy' | 'aws_config' | 'gcp_organization_policy' | 'gcp_policy' | 'kubernetes_policy' | 'oracle_cloud_guard'

Engine type of the policy

scope'global' | 'account' | 'tenant' | 'user_private'

Scope of the policy

tenant_idstring

ID of the tenant within the CoreStack account

account_idstring

Id of the CoreStack account under which this tenant resides.

classificationstring

Policies are classified based on the basis of the activity they perform. For example: Provisioning, Account Management, Utilization, etc.

sub_classificationstring

Sub classification for policy

resource_categorystring

Category of resource

resource_typestring

Type of resource

service_resourcesstring[]

Service resources of policy

severity'critical' | 'high' | 'info' | 'low' | 'medium' | 'none' | 'unknown'

Severity of policy

recommendation_descriptionstring

Recommendation description of the policy

equivalent_policiesstring[]

Equivalent policy names

Example response

[
  {
    "services": [
      "AWS"
    ],
    "engine_type": "corestack_policy",
    "scope": "global",
    "severity": "critical"
  }
]