Skip to content

Commit e147d03

Browse files
yoshi-automationleahecole
authored andcommitted
feat(securitycenter): update the API
#### securitycenter:v1beta1 The following keys were added: - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.type #### securitycenter:v1beta2 The following keys were added: - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.type - schemas.SecurityCenterSettings.properties.cryptoKeyName.description - schemas.SecurityCenterSettings.properties.cryptoKeyName.type #### securitycenter:v1 The following keys were added: - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2BigQueryExport.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2Finding.properties.cryptoKeyName.type - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.description - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.readOnly - schemas.GoogleCloudSecuritycenterV2MuteConfig.properties.cryptoKeyName.type
1 parent 54995f0 commit e147d03

File tree

6 files changed

+95
-3
lines changed

6 files changed

+95
-3
lines changed

discovery/securitycenter-v1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5938,7 +5938,7 @@
59385938
}
59395939
}
59405940
},
5941-
"revision": "20250721",
5941+
"revision": "20250808",
59425942
"rootUrl": "https://securitycenter.googleapis.com/",
59435943
"schemas": {
59445944
"Access": {
@@ -9824,6 +9824,11 @@
98249824
"readOnly": true,
98259825
"type": "string"
98269826
},
9827+
"cryptoKeyName": {
9828+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.",
9829+
"readOnly": true,
9830+
"type": "string"
9831+
},
98279832
"dataset": {
98289833
"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).",
98299834
"type": "string"
@@ -10958,6 +10963,11 @@
1095810963
"readOnly": true,
1095910964
"type": "string"
1096010965
},
10966+
"cryptoKeyName": {
10967+
"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.",
10968+
"readOnly": true,
10969+
"type": "string"
10970+
},
1096110971
"dataAccessEvents": {
1096210972
"description": "Data access events associated with the finding.",
1096310973
"items": {
@@ -12750,6 +12760,11 @@
1275012760
"readOnly": true,
1275112761
"type": "string"
1275212762
},
12763+
"cryptoKeyName": {
12764+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.",
12765+
"readOnly": true,
12766+
"type": "string"
12767+
},
1275312768
"description": {
1275412769
"description": "A description of the mute config.",
1275512770
"type": "string"

discovery/securitycenter-v1beta1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
}
914914
}
915915
},
916-
"revision": "20250721",
916+
"revision": "20250808",
917917
"rootUrl": "https://securitycenter.googleapis.com/",
918918
"schemas": {
919919
"Access": {
@@ -4494,6 +4494,11 @@
44944494
"readOnly": true,
44954495
"type": "string"
44964496
},
4497+
"cryptoKeyName": {
4498+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.",
4499+
"readOnly": true,
4500+
"type": "string"
4501+
},
44974502
"dataset": {
44984503
"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).",
44994504
"type": "string"
@@ -5628,6 +5633,11 @@
56285633
"readOnly": true,
56295634
"type": "string"
56305635
},
5636+
"cryptoKeyName": {
5637+
"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.",
5638+
"readOnly": true,
5639+
"type": "string"
5640+
},
56315641
"dataAccessEvents": {
56325642
"description": "Data access events associated with the finding.",
56335643
"items": {
@@ -7420,6 +7430,11 @@
74207430
"readOnly": true,
74217431
"type": "string"
74227432
},
7433+
"cryptoKeyName": {
7434+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.",
7435+
"readOnly": true,
7436+
"type": "string"
7437+
},
74237438
"description": {
74247439
"description": "A description of the mute config.",
74257440
"type": "string"

discovery/securitycenter-v1beta2.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@
20032003
}
20042004
}
20052005
},
2006-
"revision": "20250721",
2006+
"revision": "20250808",
20072007
"rootUrl": "https://securitycenter.googleapis.com/",
20082008
"schemas": {
20092009
"Access": {
@@ -5487,6 +5487,11 @@
54875487
"readOnly": true,
54885488
"type": "string"
54895489
},
5490+
"cryptoKeyName": {
5491+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.",
5492+
"readOnly": true,
5493+
"type": "string"
5494+
},
54905495
"dataset": {
54915496
"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).",
54925497
"type": "string"
@@ -6621,6 +6626,11 @@
66216626
"readOnly": true,
66226627
"type": "string"
66236628
},
6629+
"cryptoKeyName": {
6630+
"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.",
6631+
"readOnly": true,
6632+
"type": "string"
6633+
},
66246634
"dataAccessEvents": {
66256635
"description": "Data access events associated with the finding.",
66266636
"items": {
@@ -8413,6 +8423,11 @@
84138423
"readOnly": true,
84148424
"type": "string"
84158425
},
8426+
"cryptoKeyName": {
8427+
"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.",
8428+
"readOnly": true,
8429+
"type": "string"
8430+
},
84168431
"description": {
84178432
"description": "A description of the mute config.",
84188433
"type": "string"
@@ -10939,6 +10954,10 @@
1093910954
"description": "Resource capturing the settings for Security Center.",
1094010955
"id": "SecurityCenterSettings",
1094110956
"properties": {
10957+
"cryptoKeyName": {
10958+
"description": "The KMS key name used for CMEK encryption. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key_name}",
10959+
"type": "string"
10960+
},
1094210961
"logSinkProject": {
1094310962
"description": "The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be specified for organization level onboarding.",
1094410963
"type": "string"

src/apis/securitycenter/v1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,6 +2816,10 @@ export namespace securitycenter_v1 {
28162816
* Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
28172817
*/
28182818
createTime?: string | null;
2819+
/**
2820+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.
2821+
*/
2822+
cryptoKeyName?: string | null;
28192823
/**
28202824
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
28212825
*/
@@ -3584,6 +3588,10 @@ export namespace securitycenter_v1 {
35843588
* Output only. The time at which the finding was created in Security Command Center.
35853589
*/
35863590
createTime?: string | null;
3591+
/**
3592+
* Output only. The name of the Cloud KMS key used to encrypt this finding, if any.
3593+
*/
3594+
cryptoKeyName?: string | null;
35873595
/**
35883596
* Data access events associated with the finding.
35893597
*/
@@ -4338,6 +4346,10 @@ export namespace securitycenter_v1 {
43384346
* Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
43394347
*/
43404348
createTime?: string | null;
4349+
/**
4350+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.
4351+
*/
4352+
cryptoKeyName?: string | null;
43414353
/**
43424354
* A description of the mute config.
43434355
*/

src/apis/securitycenter/v1beta1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,6 +2622,10 @@ export namespace securitycenter_v1beta1 {
26222622
* Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
26232623
*/
26242624
createTime?: string | null;
2625+
/**
2626+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.
2627+
*/
2628+
cryptoKeyName?: string | null;
26252629
/**
26262630
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
26272631
*/
@@ -3390,6 +3394,10 @@ export namespace securitycenter_v1beta1 {
33903394
* Output only. The time at which the finding was created in Security Command Center.
33913395
*/
33923396
createTime?: string | null;
3397+
/**
3398+
* Output only. The name of the Cloud KMS key used to encrypt this finding, if any.
3399+
*/
3400+
cryptoKeyName?: string | null;
33933401
/**
33943402
* Data access events associated with the finding.
33953403
*/
@@ -4144,6 +4152,10 @@ export namespace securitycenter_v1beta1 {
41444152
* Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
41454153
*/
41464154
createTime?: string | null;
4155+
/**
4156+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.
4157+
*/
4158+
cryptoKeyName?: string | null;
41474159
/**
41484160
* A description of the mute config.
41494161
*/

src/apis/securitycenter/v1beta2.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,6 +2533,10 @@ export namespace securitycenter_v1beta2 {
25332533
* Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
25342534
*/
25352535
createTime?: string | null;
2536+
/**
2537+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.
2538+
*/
2539+
cryptoKeyName?: string | null;
25362540
/**
25372541
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
25382542
*/
@@ -3301,6 +3305,10 @@ export namespace securitycenter_v1beta2 {
33013305
* Output only. The time at which the finding was created in Security Command Center.
33023306
*/
33033307
createTime?: string | null;
3308+
/**
3309+
* Output only. The name of the Cloud KMS key used to encrypt this finding, if any.
3310+
*/
3311+
cryptoKeyName?: string | null;
33043312
/**
33053313
* Data access events associated with the finding.
33063314
*/
@@ -4055,6 +4063,10 @@ export namespace securitycenter_v1beta2 {
40554063
* Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
40564064
*/
40574065
createTime?: string | null;
4066+
/**
4067+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.
4068+
*/
4069+
cryptoKeyName?: string | null;
40584070
/**
40594071
* A description of the mute config.
40604072
*/
@@ -5393,6 +5405,10 @@ export namespace securitycenter_v1beta2 {
53935405
* Resource capturing the settings for Security Center.
53945406
*/
53955407
export interface Schema$SecurityCenterSettings {
5408+
/**
5409+
* The KMS key name used for CMEK encryption. Format: projects/{project\}/locations/{location\}/keyRings/{key_ring\}/cryptoKeys/{key_name\}
5410+
*/
5411+
cryptoKeyName?: string | null;
53965412
/**
53975413
* The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id\}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be specified for organization level onboarding.
53985414
*/
@@ -6248,6 +6264,7 @@ export namespace securitycenter_v1beta2 {
62486264
*
62496265
* // Example response
62506266
* // {
6267+
* // "cryptoKeyName": "my_cryptoKeyName",
62516268
* // "logSinkProject": "my_logSinkProject",
62526269
* // "name": "my_name",
62536270
* // "onboardingTime": "my_onboardingTime",
@@ -9452,6 +9469,7 @@ export namespace securitycenter_v1beta2 {
94529469
*
94539470
* // Example response
94549471
* // {
9472+
* // "cryptoKeyName": "my_cryptoKeyName",
94559473
* // "logSinkProject": "my_logSinkProject",
94569474
* // "name": "my_name",
94579475
* // "onboardingTime": "my_onboardingTime",
@@ -12811,6 +12829,7 @@ export namespace securitycenter_v1beta2 {
1281112829
*
1281212830
* // Example response
1281312831
* // {
12832+
* // "cryptoKeyName": "my_cryptoKeyName",
1281412833
* // "logSinkProject": "my_logSinkProject",
1281512834
* // "name": "my_name",
1281612835
* // "onboardingTime": "my_onboardingTime",

0 commit comments

Comments
 (0)