CoreStack Service Account Resources API
Manage Service Account Resources
Manage Service Account Resources
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/corestack:corestack-service-account-resources-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Corestack Service Account Resources API
version: 1.0.0
license:
name: CoreStack Inc License
url: http://corestack.io/licenses/LICENSE-2.0.html
termsOfService: http://corestack.io/
description: 'Operations tagged Service Account Resources across 2 of this provider''s published API definitions: corestack-external-api-openapi-original.json, corestack-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: Service Account Resources
description: Manage Service Account Resources
paths:
/v1/security/threat/{service_account_id}/gcp/validate:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityThreatValidationForGCPResponse'
summary: Threat Validation for GCP Services
description: Security Threat Validation for GCP
operationId: ThreatValidationForGCP
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v1/security/threat/{service_account_id}/oci/validate:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityThreatValidationForOCIResponse'
summary: Threat Validation for OCI services
description: Security Threat Validation for OCI
operationId: ThreatValidationForOCI
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v1/security/vulnerability/{service_account_id}/gcp/validate:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityVulnerabilityValidationForGCPResponse'
summary: Vulnerability Validation for GCP Services
description: Security Vulnerability Validation for GCP
operationId: VulnerabilityValidationForGCP
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v1/security/vulnerability/{service_account_id}/oci/validate:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityVulnerabilityValidationForOCIResponse'
summary: Vulnerability Validation for OCI services
description: Security Vulnerability Validation for OCI
operationId: VulnerabilityValidationForOCI
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/aws/buckets:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
type: string
summary: List Available AWS S3 Buckets
description: List the available AWS S3 buckets for the cloud account
operationId: ListAvailableAwsBuckets
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/aws/trails/{region}:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AwsTrailDetails'
summary: List Available AWS CloudTrail By Region
description: List the AWS CloudTrail of a region on cloud account
operationId: ListAvailableAwsTrailsByRegion
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
- name: region
in: path
required: true
description: Specify the region to fetch trails
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/azure/action_groups:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AzureActionGroupDetails'
summary: List Available Azure Action Groups
description: List the available Azure action groups for the cloud account
operationId: ListAvailableAzureActionGroups
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/azure/activity_log_alerts:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AzureActivityLogAlertDetails'
summary: List Available Azure Activity Log Alerts
description: List the available Azure activity log alerts for the cloud account
operationId: ListAvailableAzureActivityLogAlerts
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/azure/log_analytics_workspaces:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AzureLogAnalyticsWorkspaceDetails'
summary: List Available Azure Log Analytics Workspaces
description: List the available Azure log analytics workspaces for the cloud account
operationId: ListAvailableAzureLogAnalyticsWorkspaces
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/azure/subscriptions:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AzureSubscriptionDetails'
summary: List Available Azure Subscriptions
description: List the available Azure subscriptions for the cloud account
operationId: ListAvailableAzureSubscriptions
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/billing_metrics:
parameters:
- name: service_account_id
in: path
required: true
schema:
type: string
get:
responses:
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
type: string
summary: List billing metrics for a cloud account
description: List the billing metrics for an account
operationId: ListBillingMetricsForAnAccount
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/gcp/buckets:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
type: string
summary: List Available GCS Buckets
description: List the available GCS buckets for the cloud account
operationId: ListAvailableGcsBuckets
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/github/repositories:
parameters:
- name: service_account_id
in: path
required: true
schema:
type: string
get:
responses:
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RepositoryDetail'
summary: List the repositories in a gitHub account
description: List the repositories for a github account
operationId: ListGithubRepositories
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/aws/log_groups/{region}:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AwsCloudWatchLogGroupDetails'
summary: List Available AWS CloudWatch Log Groups By Region
description: List the AWS CloudWatch log groups of a region on cloud account
operationId: ListAvailableAwsCloudWatchLogGroupsByRegion
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
- name: region
in: path
required: true
description: Specify the region to fetch CloudWatch log groups
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/gcp/bigquery/datasets:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/GcpBigQueryDatasetDetails'
summary: List Available GCP BigQuery Datasets
description: List the available GCP BigQuery datasets for the service account project
operationId: ListAvailableGcpBigQueryDatasets
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
/v2/service_account/item/{service_account_id}/gcp/bigquery/datasets/{dataset_id}/tables:
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/GcpBigQueryTableDetails'
summary: List Available GCP BigQuery Tables
description: List the available GCP BigQuery tables for a selected dataset in the service account project
operationId: ListAvailableGcpBigQueryTables
parameters:
- name: service_account_id
in: path
required: true
description: Specify the account id
schema:
type: string
- name: dataset_id
in: path
required: true
description: Specify the dataset id
schema:
type: string
security:
- auth_token: []
tags:
- Service Account Resources
servers:
- url: /
components:
schemas:
SecurityThreatValidationForGCPResponse:
properties:
event_threat_detection:
type: boolean
description: If set, Event Threat Detection is enabled.
container_threat_detection:
type: boolean
description: If set, Container Threat Detection is enabled.
type: object
AzureLogAnalyticsWorkspaceDetails:
properties:
resource_id:
type: string
description: Resource Id
name:
type: string
description: Workspace Name
workspace_id:
type: string
description: Workspace Id
type: object
SecurityThreatValidationForOCIResponse:
properties:
cloud_guard:
type: boolean
description: If set, Cloud Guard is enabled.
type: object
SecurityVulnerabilityValidationForGCPResponse:
properties:
web_security_scanner:
type: boolean
description: If set, Web Security Scanner is enabled.
security_health_analytics:
type: boolean
description: If set, Security Health Analytics is enabled.
type: object
AwsTrailDetails:
properties:
name:
type: string
description: Name of the trail
bucket_name:
type: string
description: Name of the Amazon S3 bucket into which CloudTrail delivers trail files
is_multi_region_trail:
type: boolean
description: Specifies whether the trail exists only in one Region or exists in all Regions
type: object
RepositoryDetail:
properties:
repository_id:
type: string
description: Unique Identifier of the Repository.
repository_name:
type: string
description: Unique Name of the Repository.
type: object
AzureSubscriptionDetails:
properties:
subscription_id:
type: string
description: Subscription Id
name:
type: string
description: Subscription Name
status:
type: string
description: Azure Subscription Status
example: Deleted
enum:
- Deleted
- Disabled
- Enabled
- PastDue
- Warned
x-cs-enum-type: AzureSubscriptionStatus
type: object
ModelError:
required:
- message
properties:
message:
type: string
description: Error response message.
type: object
AzureActionGroupDetails:
properties:
name:
type: string
description: Action Group Name
resource_group:
type: string
description: Resource Group Name
type: object
SecurityVulnerabilityValidationForOCIResponse:
properties:
host_scan_target:
type: boolean
description: If set, Host Scan Target is enabled.
type: object
AzureActivityLogAlertDetails:
properties:
name:
type: string
description: Activity Log Alert Name
resource_group:
type: string
description: Resource Group Name
is_subscription_scope:
type: boolean
description: Specifies whether the alert scope is subscription
type: object
GcpBigQueryDatasetDetails:
properties:
dataset_id:
type: string
description: BigQuery dataset id
dataset_location:
type: string
description: BigQuery dataset location (regional or multi-regional)
type: object
GcpBigQueryTableDetails:
properties:
table_id:
type: string
description: BigQuery table id
type: object
AwsCloudWatchLogGroupDetails:
properties:
name:
type: string
description: Name of the CloudWatch log group
arn:
type: string
description: ARN of the CloudWatch log group
type: object
securitySchemes:
auth_token:
type: apiKey
in: header
name: X-Auth-Token
x-refined-from:
- corestack-external-api-openapi-original.json
- corestack-openapi.json