Agentless Scanning
Create GCP scan options
Activate Agentless scan options for a GCP project.
post/api/v2/agentless_scanning/accounts/gcp
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp
- 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": {
"compliance_host": false,
"vuln_containers_os": true,
"vuln_host_os": true
},
"id": "company-project-id",
"type": "gcp_scan_options"
}
}Response
Agentless scan options enabled successfully.
Example response
{
"data": {
"attributes": {
"compliance_host": false,
"vuln_containers_os": true,
"vuln_host_os": true
},
"id": "company-project-id",
"type": "gcp_scan_options"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.