GET https://api.ap1.datadoghq.com/api/v2/agentless_scanning/accounts/aws https://api.datadoghq.eu/api/v2/agentless_scanning/accounts/aws https://api.ddog-gov.com/api/v2/agentless_scanning/accounts/aws https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws https://api.us3.datadoghq.com/api/v2/agentless_scanning/accounts/aws https://api.us5.datadoghq.com/api/v2/agentless_scanning/accounts/aws
概要 Fetches the scan options configured for AWS accounts.
応答 OK
Response object that includes a list of AWS scan options.
Expand All
A list of AWS scan options.
Attributes for the AWS scan options.
Indicates if scanning of Lambda functions is enabled.
Indicates if scanning for sensitive data is enabled.
Indicates if scanning for vulnerabilities in containers is enabled.
Indicates if scanning for vulnerabilities in hosts is enabled.
The ID of the AWS account.
The type of the resource. The value should always be aws_scan_options
.
Allowed enum values: aws_scan_options
default: aws_scan_options
{
"data" : [
{
"attributes" : {
"lambda" : true ,
"sensitive_data" : false ,
"vuln_containers_os" : true ,
"vuln_host_os" : true
},
"id" : "184366314700" ,
"type" : "aws_scan_options"
}
]
}
Not Authorized
{
"errors" : [
"Bad Request"
]
}
Too many requests
{
"errors" : [
"Bad Request"
]
}
コード例 コピー
# Curl command curl -X GET "https://api.ap1.datadoghq.com "https://api.datadoghq.eu "https://api.ddog-gov.com "https://api.datadoghq.com "https://api.us3.datadoghq.com "https://api.us5.datadoghq.com /api/v2/agentless_scanning/accounts/aws " \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY} " \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY} "