Create a new entry for your service account

POST {{baseUrl}}/api/v2/integration/gcp/accounts

Create a new entry within Datadog for your STS enabled service account.

Request Body

{"data"=>{"attributes"=>{"account_tags"=>["laborum elit irure anim nisi", "voluptate fugiat"], "automute"=>false, "client_email"=>"datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters"=>["$KEY:$VALUE"], "host_filters"=>["ut", "non n"], "is_cspm_enabled"=>false, "is_security_command_center_enabled"=>true, "resource_collection_enabled"=>false}, "type"=>"gcp_service_account"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"data":{"attributes":{"account_tags":["Lorem laboris fugiat","dolor ea proident"],"automute":true,"client_email":"datadog-service-account@test-project.iam.gserviceaccount.com","cloud_run_revision_filters":["$KEY:$VALUE"],"host_filters":["cillum ","ut"],"is_cspm_enabled":true,"is_security_command_center_enabled":true,"resource_collection_enabled":false},"id":"d291291f-12c2-22g4-j290-123456678897","meta":{"accessible_projects":["dolor ","Duis"]},"type":"gcp_service_account"}}