Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update GCP API Spec to support is_resource_change_collection_enabled #1856

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-07 14:32:12.782401",
"spec_repo_commit": "ef7c2778"
"regenerated": "2024-10-07 20:44:53.671285",
"spec_repo_commit": "5b4f9ebe"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-07 14:32:12.797123",
"spec_repo_commit": "ef7c2778"
"regenerated": "2024-10-07 20:44:53.686318",
"spec_repo_commit": "5b4f9ebe"
}
}
}
6 changes: 6 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3314,6 +3314,12 @@ components:
to be set to true.'
example: true
type: boolean
is_resource_change_collection_enabled:
default: false
description: When enabled, Datadog scans for all resource change data in
your Google Cloud environment.
example: true
type: boolean
is_security_command_center_enabled:
default: false
description: 'When enabled, Datadog will attempt to collect Security Command
Expand Down
6 changes: 6 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9566,6 +9566,12 @@ components:
product for this service account. Note: This requires resource_collection_enabled
to be set to true.'
type: boolean
is_resource_change_collection_enabled:
default: false
description: When enabled, Datadog scans for all resource change data in
your Google Cloud environment.
example: true
type: boolean
is_security_command_center_enabled:
default: false
description: 'When enabled, Datadog will attempt to collect Security Command
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2024-01-31T21:16:03.254Z"
"2024-10-07T20:24:57.651Z"
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"entries": [
{
"_id": "39099d420474c6096e87c89c0c161c61",
"_id": "1c662688a9e773d551b1e0fcea46593b",
"_order": 0,
"cache": {},
"request": {
"bodySize": 685,
"bodySize": 730,
"cookies": [],
"headers": [
{
Expand All @@ -32,7 +32,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"3af93b0f1c973838@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"dr:dre\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"f28619c1be385271@example.com\",\"client_id\":\"172833269717283326970\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"dr:dre\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -57,11 +57,11 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-01-31T21:16:03.264Z",
"time": 428
"startedDateTime": "2024-10-07T20:24:57.660Z",
"time": 684
},
{
"_id": "06f3a96597322f4179870a809aaab104",
"_id": "480d25bf2358ceb40d5b24e44502baed",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -79,13 +79,13 @@
"value": "application/json"
}
],
"headersSize": 571,
"headersSize": 572,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"client_email\":\"3af93b0f1c973838@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}"
"text": "{\"client_email\":\"f28619c1be385271@example.com\",\"client_id\":\"172833269717283326970\",\"project_id\":\"datadog-apitest\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -110,8 +110,8 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-01-31T21:16:03.699Z",
"time": 121
"startedDateTime": "2024-10-07T20:24:58.352Z",
"time": 194
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2023-12-20T13:20:18.421Z"
"2024-10-07T20:30:09.400Z"
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"entries": [
{
"_id": "f09b693fbd5d642e06d6ae96259a14a7",
"_id": "0ff241f67636c6b5894a91faf62bedfe",
"_order": 0,
"cache": {},
"request": {
"bodySize": 645,
"bodySize": 690,
"cookies": [],
"headers": [
{
Expand All @@ -32,7 +32,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"40c7bfeef7b52e04@example.com\",\"client_id\":\"170307841817030784180\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -57,11 +57,11 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-12-20T13:20:18.438Z",
"time": 1957
"startedDateTime": "2024-10-07T20:30:09.410Z",
"time": 676
},
{
"_id": "0ae87fc315cb6f68858b05f1eb5cdfcc",
"_id": "aae1fce9b9fa333cd4f698afa9092d52",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -85,7 +85,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"client_email\":\"40c7bfeef7b52e04@example.com\",\"client_id\":\"170307841817030784180\",\"project_id\":\"datadog-apitest\"}"
"text": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -110,11 +110,11 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-12-20T13:20:20.407Z",
"time": 404
"startedDateTime": "2024-10-07T20:30:10.094Z",
"time": 169
},
{
"_id": "0ae87fc315cb6f68858b05f1eb5cdfcc",
"_id": "aae1fce9b9fa333cd4f698afa9092d52",
"_order": 1,
"cache": {},
"request": {
Expand All @@ -138,7 +138,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"client_email\":\"40c7bfeef7b52e04@example.com\",\"client_id\":\"170307841817030784180\",\"project_id\":\"datadog-apitest\"}"
"text": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -163,8 +163,8 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-12-20T13:20:20.828Z",
"time": 333
"startedDateTime": "2024-10-07T20:30:10.269Z",
"time": 139
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2024-01-31T21:16:03.829Z"
"2024-10-07T20:30:10.415Z"
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"entries": [
{
"_id": "d5af362cfd17a774895126db7016b73d",
"_id": "1efb84be77295de0a83ec317d530f22c",
"_order": 0,
"cache": {},
"request": {
"bodySize": 645,
"bodySize": 690,
"cookies": [],
"headers": [
{
Expand All @@ -32,7 +32,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -57,15 +57,15 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-01-31T21:16:03.836Z",
"time": 386
"startedDateTime": "2024-10-07T20:30:10.418Z",
"time": 570
},
{
"_id": "b6bc74a2d4a7d7dcd8c4a4480213d777",
"_id": "6dade687fd9dd782f2b824e89185d6d6",
"_order": 0,
"cache": {},
"request": {
"bodySize": 688,
"bodySize": 733,
"cookies": [],
"headers": [
{
Expand All @@ -85,7 +85,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"merp:derp\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
"text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"merp:derp\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -110,11 +110,11 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-01-31T21:16:04.227Z",
"time": 137
"startedDateTime": "2024-10-07T20:30:10.994Z",
"time": 189
},
{
"_id": "a91e4faee28489f69bbcf410954d7806",
"_id": "9418446c1823ade95f4a24e1692f8f74",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -138,7 +138,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}"
"text": "{\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"project_id\":\"datadog-apitest\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
Expand All @@ -163,8 +163,8 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-01-31T21:16:04.370Z",
"time": 105
"startedDateTime": "2024-10-07T20:30:11.188Z",
"time": 179
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2023-12-20T13:43:40.420Z"
"2024-10-07T20:30:11.373Z"
Loading
Loading