Agentless Scanning
Update GCP scan options
Update the Agentless scan options for an activated GCP project.
patch/api/v2/agentless_scanning/accounts/gcp/{project_id}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/{project_id}
- 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
Path parameters
project_idstring required
Example:company-project-id
The GCP project ID.
Request body
Example request
{
"data": {
"id": "company-project-id",
"type": "gcp_scan_options"
}
}Response
OK
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.