v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBAgentless 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 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"
}
}