Elastio Guard Duty API
Amazon GuardDuty findings ingestion.
Amazon GuardDuty findings ingestion.
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/elastio:elastio-guardduty-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Elastio Guard Duty API
description: 'The Elastio API gives you access to the Elastio platform from code. Hunt looks for ransomware, malware, and corrupted files in live, replicated, and backup data. Pursuit investigates copies of your systems for evidence of compromise. The API returns what both find, the incidents they raise, and the evidence that proves which recovery point is clean.
## Base URL
Every request goes to your tenant:
```
https://{tenant}.app.elastio.com
```
`{tenant}` is the subdomain you use to sign in to the Elastio console.
## Authentication
Send a personal access token (PAT) in the `Authorization` header:
```
Authorization: Bearer
```
Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`. Tokens can be scoped to the categories `inventory`, `security`, `protection`, `reporting`, `integrations` and `admin`, each with `read` or `write` access. See the authentication guide for details.
## Trying requests
Select **Test Request** on any operation to send it from your browser. Enter your tenant in the server field and your token under **Authentication**. Requests run against your live tenant, so write operations change real data.'
version: 1.0.0
contact:
name: Elastio Support
email: support@elastio.com
url: https://support.elastio.com
license:
name: Copyright © Elastio Software, Inc. All rights reserved.
url: https://elastio.com
servers:
- url: https://{tenant}.app.elastio.com
description: Your Elastio tenant
variables:
tenant:
default: your-tenant
description: The subdomain of your Elastio console URL
security:
- authorization: []
tags:
- name: GuardDuty
description: Amazon GuardDuty findings ingestion.
paths:
/gateway/ingestion/v1/accounts:
get:
tags:
- GuardDuty
summary: List AWS accounts for a tenant
description: Returns all active AWS accounts associated with the specified tenant. Includes both Cloud Connectors and asset accounts (protected accounts). Each account includes its type to distinguish between connectors and asset accounts.
operationId: listAccounts
responses:
'200':
description: Successfully retrieved accounts
content:
application/json:
schema:
$ref: '#/components/schemas/AccountsResponse'
example:
accounts:
- account_id: '123456789012'
region: us-east-1
type: cloud_connector
- account_id: '987654321098'
region: eu-west-1
type: protected_account
'400':
description: Bad request
'500':
description: Internal server error
/gateway/ingestion/v1/enable:
post:
tags:
- GuardDuty
summary: Enable GuardDuty integration for an AWS account
description: Creates an EventBridge event bus and rule to route GuardDuty findings from the specified AWS account to the ingestion service's SQS queue. If integration is already enabled, returns the existing configuration.
operationId: enableIntegration
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/EnableRequest'
example:
integration: guardduty
account_id: '123456789012'
region: us-east-1
responses:
'200':
description: Integration enabled successfully (or already enabled)
content:
application/json:
schema:
$ref: '#/components/schemas/EnableResponse'
examples:
new:
summary: Newly enabled
value:
event_bus_name: elastio-acme-corp-123456789012
rule_name: elastio-acme-corp-123456789012-guardduty
eventbridge_rule_name: elastio-acme-corp-123456789012-guardduty
status: enabled
message: ok
existing:
summary: Already enabled
value:
event_bus_name: elastio-acme-corp-123456789012
rule_name: elastio-acme-corp-123456789012-guardduty
eventbridge_rule_name: elastio-acme-corp-123456789012-guardduty
status: enabled
message: Event bus is already enabled
'400':
description: Invalid request (missing fields or unsupported integration)
'404':
description: Account not found for the specified tenant
'500':
description: Internal server error (AWS or database failure)
/gateway/ingestion/v1/disable:
post:
tags:
- GuardDuty
summary: Disable GuardDuty integration for an AWS account
description: Removes the EventBridge event bus, rule, and targets for the specified AWS account. Deletes the integration record from the database.
operationId: disableIntegration
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DisableRequest'
example:
integration: guardduty
account_id: '123456789012'
region: us-east-1
responses:
'200':
description: Integration disabled successfully
content:
application/json:
schema:
$ref: '#/components/schemas/DisableResponse'
example:
event_bus_name: elastio-acme-corp-123456789012
rule_name: elastio-acme-corp-123456789012-guardduty
status: deleted
message: Integration deleted successfully
'400':
description: Invalid request (missing fields or unsupported integration)
'404':
description: Integration not found for the specified account
'500':
description: Internal server error (AWS or database failure)
/gateway/ingestion/v1/guardduty/{hub_account_id}/{hub_region}/linked-accounts:
post:
tags:
- GuardDuty
summary: Add linked accounts to a hub
description: Adds one or more spoke accounts to a hub account's linked_account_ids. Linked accounts can forward GuardDuty events through the hub to Elastio. Validates that each account exists in active Cloud Connectors or asset accounts.
operationId: addLinkedAccounts
parameters:
- name: hub_account_id
in: path
required: true
description: AWS account ID of the hub (12 digits)
schema:
type: string
pattern: ^[0-9]{12}$
example: '111111111111'
- name: hub_region
in: path
required: true
description: AWS region where the hub is deployed
schema:
type: string
example: us-east-1
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedAccountsRequest'
example:
account_ids:
- '222222222222'
- '333333333333'
responses:
'200':
description: Accounts linked successfully
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedAccountsResponse'
examples:
all_added:
summary: All accounts added
value:
hub_account_id: '111111111111'
linked_account_ids:
- '222222222222'
- '333333333333'
added:
- '222222222222'
- '333333333333'
message: Accounts linked successfully
partial_already_linked:
summary: Some already linked
value:
hub_account_id: '111111111111'
linked_account_ids:
- '222222222222'
- '333333333333'
added:
- '333333333333'
already_linked:
- '222222222222'
message: Accounts linked successfully
partial_with_errors:
summary: Some accounts failed validation
value:
hub_account_id: '111111111111'
linked_account_ids:
- '222222222222'
added:
- '222222222222'
failed:
- '444444444444'
validation_errors:
- account 444444444444 not found in tenant's AWS accounts
message: Accounts linked with some errors
'400':
description: Invalid request (missing fields or empty account_ids)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: account_ids is required and must not be empty
code: BAD_REQUEST
'404':
description: Hub account not found for this tenant
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: hub account 111111111111 not found for this tenant
code: NOT_FOUND
'409':
description: All accounts failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: 'validation failed: account 222222222222 is already configured as a hub'
code: VALIDATION_ERROR
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: failed to validate accounts
code: INTERNAL_ERROR
delete:
tags:
- GuardDuty
summary: Remove linked accounts from a hub
description: Removes one or more spoke accounts from a hub account's linked_account_ids. Accounts not currently linked are reported in the not_found field but do not cause an error (idempotent operation).
operationId: removeLinkedAccounts
parameters:
- name: hub_account_id
in: path
required: true
description: AWS account ID of the hub (12 digits)
schema:
type: string
pattern: ^[0-9]{12}$
example: '111111111111'
- name: hub_region
in: path
required: true
description: AWS region where the hub is deployed
schema:
type: string
example: us-east-1
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedAccountsRequest'
example:
account_ids:
- '222222222222'
responses:
'200':
description: Accounts unlinked successfully
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedAccountsResponse'
examples:
all_removed:
summary: All accounts removed
value:
hub_account_id: '111111111111'
linked_account_ids:
- '333333333333'
removed:
- '222222222222'
message: Accounts unlinked successfully
partial:
summary: Some not found
value:
hub_account_id: '111111111111'
linked_account_ids:
- '333333333333'
removed:
- '222222222222'
not_found:
- '999999999999'
message: Accounts unlinked successfully
'400':
description: Invalid request (missing fields or empty account_ids)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: account_ids is required and must not be empty
code: BAD_REQUEST
'404':
description: Hub account not found for this tenant
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: hub account 111111111111 not found for this tenant
code: NOT_FOUND
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: failed to remove linked accounts
code: INTERNAL_ERROR
/gateway/ingestion/v1/status:
get:
tags:
- GuardDuty
summary: Get GuardDuty integration status for a tenant
description: Returns the status of all GuardDuty integrations for the tenant. If any accounts have integrations enabled, returns 'enabled' with account details. Otherwise returns 'disabled'. Each enabled account also carries its ingested-findings activity (`last_event_at`, `events_last_24h`, `scans_scheduled_last_24h`), folded across the hub account and every currently linked spoke.
operationId: getIntegrationStatus
responses:
'200':
description: Integration status retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse1'
examples:
enabled_with_linked:
summary: Hub with linked spoke accounts
value:
status: enabled
accounts:
- account_id: '123456789012'
region: us-east-1
event_bus_name: gd-123456789012-uat-development
elastio_event_bus_arn: arn:aws:events:eu-central-1:937593779230:event-bus/gd-123456789012-uat-development
hub_event_bus_arn: arn:aws:events:us-east-1:123456789012:event-bus/gd-123456789012-uat-development
eventbridge_rule_name: gd-123456789012-uat-development
linked_account_ids:
- '222222222222'
- '333333333333'
last_event_at: '2026-09-01T11:10:02Z'
events_last_24h: 3
scans_scheduled_last_24h: 3
enabled_no_linked:
summary: Hub without linked accounts
value:
status: enabled
accounts:
- account_id: '123456789012'
region: us-east-1
event_bus_name: gd-123456789012-uat-development
elastio_event_bus_arn: arn:aws:events:eu-central-1:937593779230:event-bus/gd-123456789012-uat-development
hub_event_bus_arn: arn:aws:events:us-east-1:123456789012:event-bus/gd-123456789012-uat-development
eventbridge_rule_name: gd-123456789012-uat-development
last_event_at: null
events_last_24h: 0
scans_scheduled_last_24h: 0
disabled:
summary: No integrations enabled
value:
status: disabled
'400':
description: Bad request
'500':
description: Internal server error
components:
schemas:
AccountsResponse:
type: object
properties:
accounts:
type: array
description: List of active AWS accounts for the tenant
items:
$ref: '#/components/schemas/Account'
required:
- accounts
DisableResponse:
type: object
properties:
event_bus_name:
type: string
description: Name of the deleted EventBridge event bus
example: elastio-acme-corp-123456789012
rule_name:
type: string
description: Name of the deleted EventBridge rule
example: elastio-acme-corp-123456789012-guardduty
status:
type: string
description: Integration status
enum:
- deleted
example: deleted
message:
type: string
description: Human-readable status message
example: Integration deleted successfully
required:
- event_bus_name
- rule_name
- status
- message
Account:
type: object
properties:
account_id:
type: string
description: AWS account ID (12 digits)
example: '123456789012'
region:
type: string
description: AWS region for the account (Cloud Connector or asset account)
example: us-east-1
type:
type: string
description: Type of account - "cloud_connector" for Cloud Connectors or "protected_account" for protected/asset accounts
enum:
- cloud_connector
- protected_account
example: cloud_connector
required:
- account_id
- region
- type
ErrorResponse:
type: object
description: The error envelope returned by the Elastio API gateway.
properties:
status:
type: integer
minimum: 400
maximum: 599
example: 404
error:
type: string
example: Not Found
message:
type: string
example: Asset 6c1f... was not found
cached:
type: boolean
example: false
required:
- status
- error
- message
EnableRequest:
type: object
properties:
integration:
type: string
description: Integration type to enable
enum:
- guardduty
example: guardduty
account_id:
type: string
description: AWS account ID (12 digits)
example: '123456789012'
region:
type: string
description: AWS region where the customer's hub is deployed
example: us-east-1
required:
- integration
- account_id
- region
LinkedAccountsRequest:
type: object
properties:
account_ids:
type: array
description: List of AWS account IDs to add or remove
items:
type: string
pattern: ^[0-9]{12}$
example:
- '222222222222'
- '333333333333'
required:
- account_ids
StatusResponse1:
type: object
properties:
status:
type: string
description: Overall integration status for the tenant
enum:
- enabled
- disabled
example: enabled
accounts:
type: array
description: List of accounts with enabled integrations (only present when status is 'enabled')
items:
$ref: '#/components/schemas/StatusAccount'
required:
- status
EnableResponse:
type: object
properties:
event_bus_name:
type: string
description: Name of the created EventBridge event bus
example: elastio-acme-corp-123456789012
rule_name:
type: string
description: Name of the EventBridge rule
example: elastio-acme-corp-123456789012-guardduty
eventbridge_rule_name:
type: string
description: Same as rule_name (for backward compatibility)
example: elastio-acme-corp-123456789012-guardduty
status:
type: string
description: Integration status
enum:
- enabled
example: enabled
message:
type: string
description: Human-readable status message
example: ok
required:
- event_bus_name
- rule_name
- eventbridge_rule_name
- status
- message
LinkedAccountsResponse:
type: object
properties:
hub_account_id:
type: string
description: AWS account ID of the hub
example: '111111111111'
linked_account_ids:
type: array
description: Current list of linked account IDs after the operation
items:
type: string
example:
- '222222222222'
- '333333333333'
added:
type: array
description: Account IDs that were added (only present on add operation)
items:
type: string
example:
- '333333333333'
already_linked:
type: array
description: Account IDs that were already linked (only present on add operation)
items:
type: string
example:
- '222222222222'
removed:
type: array
description: Account IDs that were removed (only present on remove operation)
items:
type: string
example:
- '222222222222'
not_found:
type: array
description: Account IDs that were not found in linked accounts (only present on remove operation)
items:
type: string
example:
- '999999999999'
failed:
type: array
description: Account IDs that failed validation (only present on add operation with partial success)
items:
type: string
example:
- '444444444444'
validation_errors:
type: array
description: Validation error messages for failed accounts (only present on add operation with partial success)
items:
type: string
example:
- account 444444444444 not found in tenant's AWS accounts
message:
type: string
description: Human-readable status message
example: Accounts linked successfully
required:
- hub_account_id
- linked_account_ids
- message
DisableRequest:
type: object
properties:
integration:
type: string
description: Integration type to disable
enum:
- guardduty
example: guardduty
account_id:
type: string
description: AWS account ID (12 digits)
example: '123456789012'
region:
type: string
description: AWS region where the customer's hub is deployed
example: us-east-1
required:
- integration
- account_id
- region
StatusAccount:
type: object
properties:
account_id:
type: string
description: AWS account ID of the hub (12 digits)
example: '123456789012'
region:
type: string
description: AWS region where the customer's hub is deployed
example: us-east-1
event_bus_name:
type: string
description: Name of the EventBridge event bus (same name for both Elastio and hub)
example: gd-123456789012-uat-development
elastio_event_bus_arn:
type: string
description: ARN of Elastio's EventBridge event bus (where events are forwarded to)
example: arn:aws:events:eu-central-1:937593779230:event-bus/gd-123456789012-uat-development
hub_event_bus_arn:
type: string
description: ARN of the customer's hub EventBridge event bus (where spokes send events)
example: arn:aws:events:us-east-1:123456789012:event-bus/gd-123456789012-uat-development
eventbridge_rule_name:
type: string
description: Name of the EventBridge rule
example: gd-123456789012-uat-development
linked_account_ids:
type: array
description: List of spoke account IDs that forward events through this hub
items:
type: string
example:
- '222222222222'
- '333333333333'
last_event_at:
type:
- string
- 'null'
format: date-time
description: Timestamp (RFC3339) of the most recent GuardDuty finding ingested through this hub, folded across the hub account and every currently linked spoke. `null` means no finding has been ingested yet (or the activity rollup could not be read).
example: '2026-09-01T11:10:02Z'
events_last_24h:
type:
- integer
- 'null'
format: int64
minimum: 0
description: 'Number of GuardDuty findings ingested through this hub in the last 24 hours, folded across the hub account and every currently linked spoke. `0` is an honest "no findings in the window"; `null` means the rollup is unavailable, so a client should hide the metric rather than render a zero. Counts findings the ingestion pipeline accepted and stored: GuardDuty features other than `S3MalwareProtection` and `EbsVolumeScan` are dropped upstream and never counted here.'
example: 3
scans_scheduled_last_24h:
type:
- integer
- 'null'
format: int64
minimum: 0
description: 'How many of those findings produced a scan job, over the same window and the same fold. Ingesting a finding is only half the work: when the Cloud Connector cannot be scheduled against, the finding is still stored and no scan ever runs. A value below `events_last_24h` is that failure, made visible. `null` means the rollup is unavailable, so a client should hide the metric rather than render a zero.'
example: 3
required:
- account_id
- region
- event_bus_name
- elastio_event_bus_arn
- hub_event_bus_arn
- eventbridge_rule_name
securitySchemes:
authorization:
type: http
scheme: bearer
description: 'A personal access token (PAT) sent as `Authorization: Bearer <token>`. Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`.'
bearerAuth:
type: http
scheme: bearer
description: Integration channel token issued by Elastio for inbound partner events (Wiz).
externalDocs:
description: Elastio Developer Portal
url: https://developer.elastio.com
x-tagGroups:
- name: Platform
tags:
- System
- Tenant Settings
- Licenses
- Plan
- Billing
- Early Access
- AI Provider Credentials
- name: Identity & Access
tags:
- Users
- User Groups
- Roles
- Account Groups
- Personal Access Tokens
- Audit Logs
- name: Inventory & Deployments
tags:
- Deployments
- Assets
- Search
- Inventory
- Asset Accounts
- Tags
- Azure Subscriptions
- GCP Projects
- IBM
- OVA Accounts
- Vault
- Database Monitoring
- Data
- name: Backups & Recovery Points
tags:
- Backup
- name: Hunts & Investigations
tags:
- Scans
- Scan Jobs
- Hunt Rules
- Custom Hunts
- Pursuit
- Pursuit Scans
- Threats
- Ransomware
- Data Classification
- name: Findings & Response
tags:
- Incidents
- Findings
- Violations
- Issues
- Posture
- Compliance
- DRS
- name: Policies & Jobs
tags:
- Policies
- Policy Schedules
- Policy Membership
- System Policies
- System Events
- Jobs
- name: Recovery & Evidence
tags:
- Resilience Program
- Recovery Verdict
- Recovery Analytics
- Evidence
- Security Metrics
- name: Reporting
tags:
- Reports
- Report Schedules
- EQL
- name: Alerts & Integrations
tags:
- Alerts
- Webhooks
- Slack
- Splunk
- VirusTotal
- Wiz
- GuardDuty