List Stacks
get/stacks
List Stacks.
SecurityTrend Micro Cloud One API Key
Request
query Parameters
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
429
Too Many Requests
500
Internal Server Error
503
Service Unavailable
Response samples
- 200
- 400
- 401
- 500
- 503
application/json
{- "stacks": [
- {
- "type": "scanner",
- "stackID": "60e53669-c8ef-4d0f-a8ff-3dbbb098d8ff",
- "name": "fss-scanner-stack",
- "provider": "aws",
- "status": "ok",
- "statusDetail": "failed to retrieve scanner stack",
- "created": "2020-05-14T10:49:00.000Z",
- "updated": "2020-05-14T10:49:00.000Z",
- "details": {
- "account": "123456789012",
- "region": "us-east-1",
- "managementRole": "arn:aws:iam::123456789012:role/iamRoleManagement",
- "scannerQueueURL": "https://sqs.us-east-1.amazonaws.com/123456789012/fss-scanner-stack-ScannerQueue",
- "scannerLambdaAliasARN": "arn:aws:lambda:us-east-1:123456789012:function:StackName-ScannerLambda-h5g2xPE00Kkx:TM-FSS-MANAGED"
}
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}
Create Stack
post/stacks
Create a Stack. Use Describe Stack or List Stacks API to query the Stack's creation status.
SecurityTrend Micro Cloud One API Key
Request
Request Body schema: application/json
request body
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
429
Too Many Requests
500
Internal Server Error
503
Service Unavailable
Request samples
- Payload
application/json
{- "type": "account-scanner",
- "provider": "aws",
- "details": {
- "managementRole": "arn:aws:iam::123456789012:role/iamRoleManagement"
}
}
Response samples
- 200
- 400
- 401
- 500
- 503
application/json
{- "stackID": "60e53669-c8ef-4d0f-a8ff-3dbbb098d8ff"
}
Describe Stack
get/stacks/{stackID}
Describe a Stack.
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
503
Service Unavailable
Response samples
- 200
- 400
- 401
- 404
- 500
- 503
application/json
{- "type": "account-scanner",
- "stackID": "60e53669-c8ef-4d0f-a8ff-3dbbb098d8ff",
- "name": "fss-scanner-stack",
- "provider": "aws",
- "status": "ok",
- "statusDetail": "failed to retrieve scanner stack",
- "created": "2020-05-14T10:49:00.000Z",
- "updated": "2020-05-14T10:49:00.000Z",
- "details": {
- "account": "123456789012",
- "region": "us-east-1",
- "managementRole": "arn:aws:iam::123456789012:role/iamRoleManagement",
- "scannerQueueURL": "https://sqs.us-east-1.amazonaws.com/123456789012/fss-scanner-stack-ScannerQueue",
- "scannerLambdaAliasARN": "arn:aws:lambda:us-east-1:123456789012:function:StackName-ScannerLambda-h5g2xPE00Kkx:TM-FSS-MANAGED"
}
}
Delete Stack
delete/stacks/{stackID}
Delete a Stack.
SecurityTrend Micro Cloud One API Key
Request
Responses
204
No Content
400
Bad Request
401
Unauthorized
403
Forbidden
409
Conflict
429
Too Many Requests
500
Internal Server Error
503
Service Unavailable
Response samples
- 400
- 401
- 409
- 500
- 503
application/json
{- "message": "Error message"
}