CoreStack External API

REST API covering the whole CoreStack governance surface — authorization, identity and RBAC, guardrail policies, account governance, operations and automation, security, cost and budgets, access, resources, compliance assessments and self-service. Published as a live Swagger 2.0 document with 838 uniquely-identified operations. Authentication is a short-lived X-Auth-Token minted from an Access Key / Secret Key pair, paired with an X-Auth-User header.

OpenAPI Specification

corestack-external-api-openapi-original.json Raw ↑
{"swagger": "2.0", "basePath": "/", "paths": {"/access/posture/governance_summary/list": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/SummaryCountResponse"}}}, "summary": "Get Access Summary Count", "description": "Displays the summary of the violations based on the cloud provider", "operationId": "AccessSummaryCount", "parameters": [{"description": "Supported services for Access Dashboard. Select one from the dropdown to display summary for that particular service", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": true, "name": "services"}], "security": [{"auth_token": []}], "tags": ["Access"]}}, "/access/posture/governance_summary_dashboard": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"type": "array", "items": {"$ref": "#/definitions/AccessSummaryDashboard"}}}}, "summary": "Get Access Summary Dashboard Count", "description": "Displays the summary of the violations", "operationId": "AccessSummaryDashboardCount", "parameters": [{"description": "Select one from the supported services to display summary for that particular service", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": false, "name": "services"}, {"description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.", "type": "string", "required": false, "name": "tenant_id", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Access"]}}, "/access/posture/view_violations": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ViewViolationResponse"}}}, "summary": "Get Access Violations", "description": "Displays the violations based on the cloud provider", "operationId": "AccessViolations", "parameters": [{"description": "Supported services for Access Dashboard. Select one from the dropdown to display violations of all the accounts for that particular service", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": true, "name": "services"}, {"description": "Specify the tenant ID as comma separated. This is a unique ID and can be retrieved using the List Tenants API.", "type": "string", "required": false, "name": "tenant_ids", "in": "query"}, {"description": "Search by account_name wise", "type": "string", "name": "search", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "Limit of the data to be displayed", "type": "integer", "name": "limit", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Access"]}}, "/access/visibility/details": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/DetailsResponse"}}}, "summary": "Get Access Detail", "description": "Displays the details of individual violation", "operationId": "AccessDetails", "parameters": [{"name": "DetailsRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/DetailsRequest"}}, {"description": "Supported services for Access Dashboard. Select one from the dropdown to display details for that particular service", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": true, "name": "services"}, {"description": "Category under which a particular violation falls in a particular cloud account. Please get category from the guardrail of AccessVisibilityFilters in Access Visibility Dashboard", "type": "string", "required": true, "name": "category", "in": "query"}, {"description": "Name of the violation. Please get name from the guardrail of AccessVisibilityFilters in Access Visibility Dashboard", "type": "string", "required": true, "name": "item", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "Limit of the data to be displayed", "type": "integer", "name": "limit", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Access"]}}, "/access/visibility/filter": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/VisibilityFilterResponse"}}}, "summary": "Get Access Visibility Filter", "description": "Displays the filters by tenants, cloud accounts, guardrail", "operationId": "AccessVisibilityFilters", "parameters": [{"description": "Supported services for Access Dashboard. Select one from the dropdown to display filter for that particular service", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": true, "name": "services"}], "security": [{"auth_token": []}], "tags": ["Access"]}}, "/budget/create": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetCreateUpdateResponse"}}}, "summary": "Create Budget", "description": "Budget Create", "operationId": "BudgetCreate", "parameters": [{"name": "BudgetCreateUpdateRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetCreateUpdateRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/dashboard/budget_alert_exceeds_count": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetAlertsExceedResponse"}}}, "summary": "View Count Budget Alert Exceeds Summary", "description": "Budget Alert Exceed Count", "operationId": "BudgetAlertExceedsData", "parameters": [{"name": "BudgetSummaryRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetSummaryRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/dashboard/budget_summary_count": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetSummaryResponse"}}}, "summary": "View Count Budget Summary", "description": "Budget Summary Count", "operationId": "BudgetSummary", "parameters": [{"name": "BudgetSummaryRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetSummaryRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/dashboard/list_budgets": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetListResponse"}}}, "summary": "View Budget Dashboard", "description": "List Budget Management", "operationId": "ListBudget", "parameters": [{"name": "BudgetListRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetListRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/filter_values": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetListConstraintsResponse"}}}, "summary": "View Create Budget Advanced Filters", "description": "Filter Budget Management", "operationId": "ListBudgetConstraints", "parameters": [{"name": "BudgetListConstraintsRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetListConstraintsRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/item/{budget_id}": {"delete": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Removed", "schema": {"type": "boolean"}}}, "summary": "Delete Budget", "description": "Delete Budget", "operationId": "Delete Budget", "parameters": [{"name": "budget_id", "in": "path", "required": true, "type": "string", "description": "Specify the budget ID.This is a unique ID and can be retrieved using the create budget"}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/update": {"put": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetCreateUpdateResponse"}}}, "summary": "Update Budget", "description": "Budget Update", "operationId": "BudgetUpdate", "parameters": [{"name": "BudgetCreateUpdateRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/BudgetCreateUpdateRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/{budget_id}/budget_history": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetHistoryResponse"}}}, "summary": "List Budget History", "description": "Budget History", "operationId": "BudgetHistory", "parameters": [{"name": "budget_id", "in": "path", "required": true, "type": "string", "description": "Specify the budget ID.This is a unique ID and can be retrieved using the create budget"}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budget/{budget_id}/view": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/BudgetViewResponse"}}}, "summary": "List Budget Detail", "description": "View Budget", "operationId": "ViewBudget", "parameters": [{"name": "budget_id", "in": "path", "required": true, "type": "string", "description": "Specify the budget ID.This is a unique ID and can be retrieved using the create budget"}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budgets/threshold_alerts/update": {"put": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ThresholdAlertUpdateResponse"}}}, "summary": "Update Budget Threshold Alerts", "description": "ThresholdAlert Update", "operationId": "ThresholdAlertUpdate", "parameters": [{"name": "ThresholdAlertUpdateRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/ThresholdAlertUpdateRequest"}}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/budgets/threshold_alerts/view": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ThresholdAlertListResponse"}}}, "summary": "View Budget Threshold Alerts", "description": "ThresholdAlert View", "operationId": "ThresholdAlertList", "parameters": [{"name": "ThresholdAlertViewListRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/ThresholdAlertViewListRequest"}}, {"description": "to view threshold list data", "type": "boolean", "required": false, "name": "expand", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Budget V2 Management"]}}, "/compliance/compliance_control_mapping/assessment_summary_by_job": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceAssessmentHistorySummary"}}}, "summary": "Get compliance assessment summary by assessment job number", "description": "To get the summary of compliance assessment for the given assessment job number.", "operationId": "ComplianceMappingSummary", "parameters": [{"description": "Specify the assessment_job_number.This can be fetched from List Compliance Control Assessment History API.", "required": true, "name": "assessment_job_number", "type": "string", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/executive_dashboard/compliance": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Fetched", "schema": {"type": "array", "items": {"$ref": "#/definitions/SecurityDashboardComplianceStatus"}}}}, "summary": "Compliance Security Dashboard Summary", "description": "Security Dashboard Compliance", "operationId": "SecurityDashboardByCompliance", "parameters": [{"name": "SecurityDashboardRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/SecurityDashboardRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/executive_dashboard/control_health": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Fetched", "schema": {"type": "array", "items": {"$ref": "#/definitions/SecurityDashboardComplianceControlHealth"}}}}, "summary": "Compliance Control Health by Control Categories", "description": "Compliance Control Health", "operationId": "ComplianceControlHealth", "parameters": [{"name": "SecurityDashboardRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/SecurityDashboardRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/executive_dashboard/risk": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Fetched", "schema": {"type": "array", "items": {"$ref": "#/definitions/SecurityDashboardCompliance"}}}}, "summary": "Compliance Risks By Cloud Accounts", "description": "Compliance Risk by Cloud Accounts", "operationId": "ComplianceRiskByCloudAccounts", "parameters": [{"name": "SecurityDashboardRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/SecurityDashboardRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/posture_summary/list": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/AssessmentPostureSummaryResponse"}}}, "summary": "Get Compliance assessment posture Summary", "description": "objective is to return the compliance assessment posture summary of all the applicable tenants", "operationId": "ComplianceAssessmentPostureSummaryList", "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/assessment_history/list": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/AssessmentHistoryResponse"}}}, "summary": "List Compliance Control Assessment History", "description": "objective is to return all of the compliance assessment triggered in the tenant", "operationId": "AssessmentHistoryList", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. "}, {"description": "Number of records to display", "type": "integer", "enum": ["10", "25", "50", "100"], "name": "limit", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "search assessment", "type": "string", "required": false, "name": "search", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/compliance_control_mapping/get_assessment_job_details": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/PolicyJobExecutionStatusResponse"}}}, "summary": "List compliance control mapping, get_assessment_job_details", "description": "objective is to return Policy Job execution status  for given, the tenant,assessment job number, policy id as input", "operationId": "PolicyJobExecutionStatus", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. "}, {"name": "PolicyJobExecutionStatusRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/PolicyJobExecutionStatusRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/compliance_control_mapping/get_on_audit_entries": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceMappingResponse"}}}, "summary": "List compliance control mapping, get_on_audit_entries", "description": "objective is to return all of the compliance Mapping get_on_audit_entries given, the tenant,assessment job number as input", "operationId": "ComplianceMapping", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using theList Tenants API. "}, {"description": "Specify the assessment_job_number.This can be fetched from List Compliance Control Assessment History API.", "required": true, "name": "assessment_job_number", "type": "string", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/control_mapping/on_demand_execute_control": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceControlResponse"}}}, "summary": "Compliance On Demand Control_execute", "description": "Compliance On Demand Control_execute", "operationId": "ComplianceOnDemandControl", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API."}, {"name": "ComplianceControlRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/ComplianceControlRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/control_mapping/on_demand_execute_standard": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceStandardResponse"}}}, "summary": "Compliance On Demand Standard_execute", "description": "Compliance On Demand Standard_execute", "operationId": "ComplianceOnDemandStandard", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API."}, {"name": "ComplianceStandardRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/ComplianceStandardRequest"}}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/controls/list": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ControlsListResponse"}}}, "summary": "List Compliance Controls", "description": "Objective is to return all of the compliance controls given, the tenant and compliance standard as input", "operationId": "ListControls", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API."}, {"description": "Number of records to display", "type": "integer", "required": true, "name": "limit", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "uri of compliance standard, This can be fetched from the compliance standards list API call.", "type": "string", "required": true, "name": "compliance_uri", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/mapping/list": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ControlsListMappingResponse"}}}, "summary": "List Compliance Control Mappings", "description": "objective is to return all of the compliance control mappings given, the tenant and compliance standard as input", "operationId": "ListControlMappings", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. "}, {"description": "Number of records to display", "type": "integer", "name": "limit", "in": "query"}, {"default": "control", "description": "type of data requested", "type": "string", "name": "caller", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "uri of compliance standard This can be fetched from the compliance standards list API call.", "type": "string", "name": "compliance_uri", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/standards": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceStandardsResponse"}}}, "summary": "List Compliance Standards", "description": "Objective is to return all of the compliance standards given, the tenant as input", "operationId": "ListStandards", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. "}, {"description": "Select the Type of Compliance Standard", "type": "string", "enum": ["all", "marketplace", "my_standard"], "name": "type", "in": "query"}, {"description": "Select a Valid Service Type", "type": "string", "in": "query", "enum": ["AWS", "Azure", "AzureStack", "Azure_CSP", "Azure_CSP-Direct", "Azure_EA", "Azure_MCA", "Cloudstack", "GCP", "MS_VMM", "OCI", "Openstack", "PrivateCloud", "Rackspace", "VMware", "VMware_VCD", "vCenter"], "x-cs-enum-type": "CloudServiceName", "default": "AWS", "required": false, "name": "valid_service_type"}, {"description": "Select the scope of Compliance Standard", "type": "string", "enum": ["account", "tenant"], "name": "scope", "in": "query"}, {"description": "true/false flag to fetch framework standards", "type": "boolean", "name": "framework", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance/{tenant_id}/visibility": {"get": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceVisibilityResponse"}}}, "summary": "List Compliance Visibility", "description": "objective is to return all of the compliance visibility given, the tenant as input", "operationId": "ComplianceVisibility", "parameters": [{"name": "tenant_id", "in": "path", "required": true, "type": "string", "description": "Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. "}, {"description": "ID of the cloud account. This can be fetched from ListCloudAccounts API", "name": "service_account_id", "type": "string", "in": "query"}, {"description": "Select a Valid Compliance Type", "type": "string", "enum": ["service", "standard"], "name": "compliance_type", "in": "query"}, {"description": "Specify the service resource type,this can be fetched from the corestack", "name": "service_resource_type", "type": "string", "in": "query"}, {"description": "uri of compliance standard, This can be fetched from the compliance standards list API call.", "type": "string", "name": "compliance_uri", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance_posture/detail_for_policy/{policy_id}": {"parameters": [{"name": "policy_id", "in": "path", "required": true, "type": "string"}], "post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"description": "Unauthorized", "schema": {"$ref": "#/definitions/ModelError"}}, "400": {"description": "Bad Request", "schema": {"$ref": "#/definitions/ModelError"}}, "200": {"description": "Success", "schema": {"$ref": "#/definitions/ComplianceDetailsForPoliciesResponse"}}}, "summary": "List Compliance posture DetailsForPolicies", "description": "Objective is to return all of the compliance posture DetailsForPolicies", "operationId": "DetailsForPolicies", "parameters": [{"name": "ComplianceDetailsForPoliciesRequest", "required": true, "in": "body", "schema": {"$ref": "#/definitions/ComplianceDetailsForPoliciesRequest"}}, {"description": "status of resource to filter", "type": "string", "name": "status", "in": "query"}, {"description": "Allowed values:resource_type, resource_name, resource_id", "type": "string", "name": "search", "in": "query"}, {"description": "Page number", "type": "integer", "name": "page", "in": "query"}, {"description": "Number of records to display", "type": "integer", "name": "limit", "in": "query"}], "security": [{"auth_token": []}], "tags": ["Compliance"]}}, "/compliance_posture/filters": {"post": {"responses": {"500": {"description": "Internal Server Error", "schema": {"$ref": "#/definitions/ModelError"}}, "401": {"des

# --- truncated at 32 KB (2327 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/corestack/refs/heads/main/openapi/corestack-external-api-openapi-original.json