Threat Stack 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 Threat Stack organization.
https://api.threatstack.com/v2/integrations/aws
Bad parameters
The user is not allowed to perform this action.
Rate limit hit.
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
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 doesn't exist.
OK
Bad parameters
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.
Add an AWS Integration to 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 doesn't exist.
No Content
Bad parameters
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 doesn't exist.
OK
Bad parameters
The user is not allowed to perform this action.
The Resource was not found.
{- "regions": [
- "string"
]
}
This method enables you to set/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 doesn't exist.
No Content
Bad parameters
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 doesn't exist.
No Content
Bad parameters
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 doesn't exist.
OK
Bad parameters
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 doesn't exist.
No Content
Bad parameters
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 doesn't exist.
No Content
Bad parameters
The user is not allowed to perform this action.
The Resource was not found.
{- "message": "string"
}