Datadog Agentless Scanning provides visibility into risks and vulnerabilities
within your hosts, running containers, and serverless functions—all without
requiring teams to install Agents on every host or where Agents cannot be installed.
Go to https://www.datadoghq.com/blog/agentless-scanning/ to learn more.
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comddog-gov.com"DD_API_KEY="<API-KEY>"DD_APP_KEY="<APP-KEY>"cargo run
/**
* Get AWS Scan Options returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration();constapiInstance=newv2.AgentlessScanningApi(configuration);apiInstance.listAwsScanOptions().then((data: v2.AwsScanOptionsResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));