Distributed Cloud AIP integrates with both Amazon Web Service (AWS) Elastic Compute Cloud (EC2) and CloudTrail functionality.
This method enables you to list all of the AWS integrations tied to your Distributed Cloud AIP organization.
https://api.threatstack.com/v2/integrations/aws
OK
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
An internal error has occurred
[- {
- "id": "string",
- "active": true,
- "arn": "string",
- "createdBy": "string",
- "description": "string",
- "errors": [
- "string"
], - "externalId": "string",
- "ec2": {
- "regions": [
- "string"
]
}, - "cloudTrail": {
- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}, - "sessionName": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
This method enables you to create a new AWS integration for your organization.
Add a new AWS integration to your organization:
https://api.threatstack.com/v2/integrations/aws
Created
Bad Request
Resource already exists
Rate limit hit
An internal error has occurred
{- "arn": "string",
- "description": "string"
}
{- "id": "string",
- "active": true,
- "arn": "string",
- "createdBy": "string",
- "description": "string",
- "errors": [
- "string"
], - "externalId": "string",
- "ec2": {
- "regions": [
- "string"
]
}, - "cloudTrail": {
- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}, - "sessionName": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to get a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa
The 404 error code means that the AWS integration does not exist.
OK
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "id": "string",
- "active": true,
- "arn": "string",
- "createdBy": "string",
- "description": "string",
- "errors": [
- "string"
], - "externalId": "string",
- "ec2": {
- "regions": [
- "string"
]
}, - "cloudTrail": {
- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}, - "sessionName": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to update an AWS integration for your organization.
https://api.threatstack.com/v2/integrations/aws/{id}
OK
Bad Request
Rate limit hit
An internal error has occurred
{- "description": "string"
}
{- "id": "string",
- "active": true,
- "arn": "string",
- "createdBy": "string",
- "description": "string",
- "errors": [
- "string"
], - "externalId": "string",
- "ec2": {
- "regions": [
- "string"
]
}, - "cloudTrail": {
- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}, - "sessionName": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to delete an AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa
The 404 error code means the AWS integration does not exist.
No content
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "message": "string"
}
This method enables you to get the EC2 Correlation configuration, if it exists, for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/ec2
The 404 error code means that either the AWS integration or the EC2 Correlation does not exist.
OK
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "regions": [
- "string"
]
}
This method enables you to set or replace the EC2 Correlation configuration for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/ec2
The 404 error code means that the AWS integration does not exist.
No content
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "regions": [
- "af-south-1"
]
}
{- "message": "string"
}
This method enables you to delete the EC2 Correlation configuration for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/ec2
The 404 error code means that either the AWS integration or the EC2 Correlation does not exist.
No content
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "message": "string"
}
This method enables you to get the CloudTrail Aggregation configuration, if it exists, for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/cloudtrail
The 404 error code means that either the AWS integration or the CloudTrail Aggregation does not exist.
OK
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}
This method enables you to set/replace the CloudTrail Aggregation configuration for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/cloudtrail
The 404 error code means that either the AWS integration or the CloudTrail Aggregation does not exist.
No content
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "source": "string",
- "region": "af-south-1",
- "s3Bucket": "string"
}
{- "message": "string"
}
This method enables you to delete the CloudTrail Aggregation configuration for a specific AWS integration.
https://api.threatstack.com/v2/integrations/aws/5e94b8cdc79248506ddc5daa/cloudtrail
The 404 error code means that either the AWS integration or the CloudTrail Aggregation does not exist.
No content
Bad parameters
Unauthorized response
The user is not allowed to perform this action
The resource was not found
{- "message": "string"
}