Agentless Scanning
Create AWS on demand task
Trigger the scan of an AWS resource with a high priority. Agentless scanning must be activated for the AWS account containing the resource to scan.
post/api/v2/agentless_scanning/ondemand/aws
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: org_management
Request body
Example request
{
"data": {
"attributes": {
"arn": "arn:aws:ec2:us-east-1:727000456123:instance/i-0eabb50529b67a1ba"
},
"type": "aws_resource"
}
}Response
AWS on demand task created successfully.
Example response
{
"data": {
"attributes": {
"arn": "arn:aws:ec2:us-east-1:727000456123:instance/i-0eabb50529b67a1ba",
"assigned_at": "2025-02-11T18:25:04.550564Z",
"created_at": "2025-02-11T18:13:24.576915Z",
"status": "QUEUED"
},
"id": "6d09294c-9ad9-42fd-a759-a0c1599b4828",
"type": "aws_resource"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.