Skip to content

Commit c6d3465

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update GCP API Spec to support is_resource_change_collection_enabled (#1856)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent cd13ba9 commit c6d3465

File tree

22 files changed

+118
-85
lines changed

22 files changed

+118
-85
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-10-07 14:32:12.782401",
8-
"spec_repo_commit": "ef7c2778"
7+
"regenerated": "2024-10-07 20:44:53.671285",
8+
"spec_repo_commit": "5b4f9ebe"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-07 14:32:12.797123",
13-
"spec_repo_commit": "ef7c2778"
12+
"regenerated": "2024-10-07 20:44:53.686318",
13+
"spec_repo_commit": "5b4f9ebe"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3314,6 +3314,12 @@ components:
33143314
to be set to true.'
33153315
example: true
33163316
type: boolean
3317+
is_resource_change_collection_enabled:
3318+
default: false
3319+
description: When enabled, Datadog scans for all resource change data in
3320+
your Google Cloud environment.
3321+
example: true
3322+
type: boolean
33173323
is_security_command_center_enabled:
33183324
default: false
33193325
description: 'When enabled, Datadog will attempt to collect Security Command

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9566,6 +9566,12 @@ components:
95669566
product for this service account. Note: This requires resource_collection_enabled
95679567
to be set to true.'
95689568
type: boolean
9569+
is_resource_change_collection_enabled:
9570+
default: false
9571+
description: When enabled, Datadog scans for all resource change data in
9572+
your Google Cloud environment.
9573+
example: true
9574+
type: boolean
95699575
is_security_command_center_enabled:
95709576
default: false
95719577
description: 'When enabled, Datadog will attempt to collect Security Command
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-01-31T21:16:03.254Z"
1+
"2024-10-07T20:24:57.651Z"

cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/recording.har

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "39099d420474c6096e87c89c0c161c61",
11+
"_id": "1c662688a9e773d551b1e0fcea46593b",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 685,
15+
"bodySize": 730,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"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\"}"
35+
"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\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-01-31T21:16:03.264Z",
61-
"time": 428
60+
"startedDateTime": "2024-10-07T20:24:57.660Z",
61+
"time": 684
6262
},
6363
{
64-
"_id": "06f3a96597322f4179870a809aaab104",
64+
"_id": "480d25bf2358ceb40d5b24e44502baed",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,13 +79,13 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 571,
82+
"headersSize": 572,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "DELETE",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"client_email\":\"3af93b0f1c973838@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}"
88+
"text": "{\"client_email\":\"f28619c1be385271@example.com\",\"client_id\":\"172833269717283326970\",\"project_id\":\"datadog-apitest\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -110,8 +110,8 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-01-31T21:16:03.699Z",
114-
"time": 121
113+
"startedDateTime": "2024-10-07T20:24:58.352Z",
114+
"time": 194
115115
}
116116
],
117117
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-12-20T13:20:18.421Z"
1+
"2024-10-07T20:30:09.400Z"

cassettes/v1/GCP-Integration_2417533655/Delete-a-GCP-integration-returns-OK-response_2718821479/recording.har

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "f09b693fbd5d642e06d6ae96259a14a7",
11+
"_id": "0ff241f67636c6b5894a91faf62bedfe",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 645,
15+
"bodySize": 690,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"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\"}"
35+
"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\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2023-12-20T13:20:18.438Z",
61-
"time": 1957
60+
"startedDateTime": "2024-10-07T20:30:09.410Z",
61+
"time": 676
6262
},
6363
{
64-
"_id": "0ae87fc315cb6f68858b05f1eb5cdfcc",
64+
"_id": "aae1fce9b9fa333cd4f698afa9092d52",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"client_email\":\"40c7bfeef7b52e04@example.com\",\"client_id\":\"170307841817030784180\",\"project_id\":\"datadog-apitest\"}"
88+
"text": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2023-12-20T13:20:20.407Z",
114-
"time": 404
113+
"startedDateTime": "2024-10-07T20:30:10.094Z",
114+
"time": 169
115115
},
116116
{
117-
"_id": "0ae87fc315cb6f68858b05f1eb5cdfcc",
117+
"_id": "aae1fce9b9fa333cd4f698afa9092d52",
118118
"_order": 1,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_email\":\"40c7bfeef7b52e04@example.com\",\"client_id\":\"170307841817030784180\",\"project_id\":\"datadog-apitest\"}"
141+
"text": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2023-12-20T13:20:20.828Z",
167-
"time": 333
166+
"startedDateTime": "2024-10-07T20:30:10.269Z",
167+
"time": 139
168168
}
169169
],
170170
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-01-31T21:16:03.829Z"
1+
"2024-10-07T20:30:10.415Z"

cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/recording.har

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "d5af362cfd17a774895126db7016b73d",
11+
"_id": "1efb84be77295de0a83ec317d530f22c",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 645,
15+
"bodySize": 690,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"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\"}"
35+
"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\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -57,15 +57,15 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-01-31T21:16:03.836Z",
61-
"time": 386
60+
"startedDateTime": "2024-10-07T20:30:10.418Z",
61+
"time": 570
6262
},
6363
{
64-
"_id": "b6bc74a2d4a7d7dcd8c4a4480213d777",
64+
"_id": "6dade687fd9dd782f2b824e89185d6d6",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 688,
68+
"bodySize": 733,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"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\"}"
88+
"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\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-01-31T21:16:04.227Z",
114-
"time": 137
113+
"startedDateTime": "2024-10-07T20:30:10.994Z",
114+
"time": 189
115115
},
116116
{
117-
"_id": "a91e4faee28489f69bbcf410954d7806",
117+
"_id": "9418446c1823ade95f4a24e1692f8f74",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}"
141+
"text": "{\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"project_id\":\"datadog-apitest\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/gcp"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2024-01-31T21:16:04.370Z",
167-
"time": 105
166+
"startedDateTime": "2024-10-07T20:30:11.188Z",
167+
"time": 179
168168
}
169169
],
170170
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-12-20T13:43:40.420Z"
1+
"2024-10-07T20:30:11.373Z"

0 commit comments

Comments
 (0)