Skip to content

Commit a12bab2

Browse files
yoshi-automationfeywind
authored andcommitted
feat(securitycenter): update the API
#### securitycenter:v1beta1 The following keys were added: - schemas.AdcApplication.description - schemas.AdcApplication.id - schemas.AdcApplication.properties.attributes.$ref - schemas.AdcApplication.properties.attributes.description - schemas.AdcApplication.properties.name.description - schemas.AdcApplication.properties.name.type - schemas.AdcApplication.type - schemas.AdcApplicationTemplateRevision.description - schemas.AdcApplicationTemplateRevision.id - schemas.AdcApplicationTemplateRevision.properties.name.description - schemas.AdcApplicationTemplateRevision.properties.name.type - schemas.AdcApplicationTemplateRevision.type - schemas.AdcSharedTemplateRevision.description - schemas.AdcSharedTemplateRevision.id - schemas.AdcSharedTemplateRevision.properties.name.description - schemas.AdcSharedTemplateRevision.properties.name.type - schemas.AdcSharedTemplateRevision.type - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcApplication.$ref - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcApplication.description - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcApplicationTemplate.$ref - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcApplicationTemplate.description - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcSharedTemplate.$ref - schemas.GoogleCloudSecuritycenterV1Resource.properties.adcSharedTemplate.description - schemas.GoogleCloudSecuritycenterV2AdcApplication.description - schemas.GoogleCloudSecuritycenterV2AdcApplication.id - schemas.GoogleCloudSecuritycenterV2AdcApplication.properties.attributes.$ref - schemas.GoogleCloudSecuritycenterV2AdcApplication.properties.attributes.description - schemas.GoogleCloudSecuritycenterV2AdcApplication.properties.name.description - schemas.GoogleCloudSecuritycenterV2AdcApplication.properties.name.type - schemas.GoogleCloudSecuritycenterV2AdcApplication.type - schemas.GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.description - schemas.GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.id - schemas.GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.properties.name.description - schemas.GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.properties.name.type - schemas.GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.type - schemas.GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.description - schemas.GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.id - schemas.GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.properties.name.description - schemas.GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.properties.name.type - schemas.GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.type - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcApplication.$ref - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcApplication.description - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcApplicationTemplate.$ref - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcApplicationTemplate.description - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcSharedTemplate.$ref - schemas.GoogleCloudSecuritycenterV2IssueResource.properties.adcSharedTemplate.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.id - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.properties.attributes.$ref - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.properties.attributes.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.properties.name.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.properties.name.type - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplication.type - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.id - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.properties.name.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.properties.name.type - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.type - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.id - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.properties.name.description - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.properties.name.type - schemas.GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.type - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcApplication.$ref - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcApplication.description - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcApplicationTemplate.$ref - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcApplicationTemplate.description - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcSharedTemplate.$ref - schemas.GoogleCloudSecuritycenterV2Resource.properties.adcSharedTemplate.description
1 parent 44780b5 commit a12bab2

2 files changed

Lines changed: 277 additions & 1 deletion

File tree

discovery/securitycenter-v1beta1.json

Lines changed: 148 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@
919919
}
920920
}
921921
},
922-
"revision": "20260105",
922+
"revision": "20260123",
923923
"rootUrl": "https://securitycenter.googleapis.com/",
924924
"schemas": {
925925
"Access": {
@@ -1023,6 +1023,43 @@
10231023
},
10241024
"type": "object"
10251025
},
1026+
"AdcApplication": {
1027+
"description": "Represents an ADC application associated with the finding.",
1028+
"id": "AdcApplication",
1029+
"properties": {
1030+
"attributes": {
1031+
"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes",
1032+
"description": "Consumer provided attributes for the AppHub application."
1033+
},
1034+
"name": {
1035+
"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}",
1036+
"type": "string"
1037+
}
1038+
},
1039+
"type": "object"
1040+
},
1041+
"AdcApplicationTemplateRevision": {
1042+
"description": "Represents an ADC template associated with the finding.",
1043+
"id": "AdcApplicationTemplateRevision",
1044+
"properties": {
1045+
"name": {
1046+
"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
1047+
"type": "string"
1048+
}
1049+
},
1050+
"type": "object"
1051+
},
1052+
"AdcSharedTemplateRevision": {
1053+
"description": "Represents an ADC shared template associated with the finding.",
1054+
"id": "AdcSharedTemplateRevision",
1055+
"properties": {
1056+
"name": {
1057+
"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
1058+
"type": "string"
1059+
}
1060+
},
1061+
"type": "object"
1062+
},
10261063
"AffectedResources": {
10271064
"description": "Details about resources affected by this finding.",
10281065
"id": "AffectedResources",
@@ -3466,6 +3503,18 @@
34663503
"description": "Information related to the Google Cloud resource.",
34673504
"id": "GoogleCloudSecuritycenterV1Resource",
34683505
"properties": {
3506+
"adcApplication": {
3507+
"$ref": "AdcApplication",
3508+
"description": "The ADC application associated with the finding."
3509+
},
3510+
"adcApplicationTemplate": {
3511+
"$ref": "AdcApplicationTemplateRevision",
3512+
"description": "The ADC template associated with the finding."
3513+
},
3514+
"adcSharedTemplate": {
3515+
"$ref": "AdcSharedTemplateRevision",
3516+
"description": "The ADC shared template associated with the finding."
3517+
},
34693518
"application": {
34703519
"$ref": "GoogleCloudSecuritycenterV1ResourceApplication",
34713520
"description": "The App Hub application this resource belongs to."
@@ -4318,6 +4367,43 @@
43184367
},
43194368
"type": "object"
43204369
},
4370+
"GoogleCloudSecuritycenterV2AdcApplication": {
4371+
"description": "Represents an ADC application associated with the finding.",
4372+
"id": "GoogleCloudSecuritycenterV2AdcApplication",
4373+
"properties": {
4374+
"attributes": {
4375+
"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes",
4376+
"description": "Consumer provided attributes for the AppHub application."
4377+
},
4378+
"name": {
4379+
"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}",
4380+
"type": "string"
4381+
}
4382+
},
4383+
"type": "object"
4384+
},
4385+
"GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision": {
4386+
"description": "Represents an ADC template associated with the finding.",
4387+
"id": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision",
4388+
"properties": {
4389+
"name": {
4390+
"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
4391+
"type": "string"
4392+
}
4393+
},
4394+
"type": "object"
4395+
},
4396+
"GoogleCloudSecuritycenterV2AdcSharedTemplateRevision": {
4397+
"description": "Represents an ADC shared template associated with the finding.",
4398+
"id": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision",
4399+
"properties": {
4400+
"name": {
4401+
"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
4402+
"type": "string"
4403+
}
4404+
},
4405+
"type": "object"
4406+
},
43214407
"GoogleCloudSecuritycenterV2AffectedResources": {
43224408
"description": "Details about resources affected by this finding.",
43234409
"id": "GoogleCloudSecuritycenterV2AffectedResources",
@@ -6725,6 +6811,18 @@
67256811
"description": "A resource associated with the an issue.",
67266812
"id": "GoogleCloudSecuritycenterV2IssueResource",
67276813
"properties": {
6814+
"adcApplication": {
6815+
"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication",
6816+
"description": "The ADC application associated with the finding."
6817+
},
6818+
"adcApplicationTemplate": {
6819+
"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision",
6820+
"description": "The ADC template associated with the finding."
6821+
},
6822+
"adcSharedTemplate": {
6823+
"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision",
6824+
"description": "The ADC shared template associated with the finding."
6825+
},
67286826
"application": {
67296827
"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplication",
67306828
"description": "The AppHub application associated with the resource, if any. Only populated for the primary resource."
@@ -6772,6 +6870,43 @@
67726870
},
67736871
"type": "object"
67746872
},
6873+
"GoogleCloudSecuritycenterV2IssueResourceAdcApplication": {
6874+
"description": "Represents an ADC application associated with the finding.",
6875+
"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication",
6876+
"properties": {
6877+
"attributes": {
6878+
"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes",
6879+
"description": "Consumer provided attributes for the AppHub application."
6880+
},
6881+
"name": {
6882+
"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}",
6883+
"type": "string"
6884+
}
6885+
},
6886+
"type": "object"
6887+
},
6888+
"GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision": {
6889+
"description": "Represents an ADC template associated with the finding.",
6890+
"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision",
6891+
"properties": {
6892+
"name": {
6893+
"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
6894+
"type": "string"
6895+
}
6896+
},
6897+
"type": "object"
6898+
},
6899+
"GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision": {
6900+
"description": "Represents an ADC shared template associated with the finding.",
6901+
"id": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision",
6902+
"properties": {
6903+
"name": {
6904+
"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}",
6905+
"type": "string"
6906+
}
6907+
},
6908+
"type": "object"
6909+
},
67756910
"GoogleCloudSecuritycenterV2IssueResourceApplication": {
67766911
"description": "The AppHub application associated with the resource, if any.",
67776912
"id": "GoogleCloudSecuritycenterV2IssueResourceApplication",
@@ -8300,6 +8435,18 @@
83008435
"description": "Information related to the Google Cloud resource.",
83018436
"id": "GoogleCloudSecuritycenterV2Resource",
83028437
"properties": {
8438+
"adcApplication": {
8439+
"$ref": "GoogleCloudSecuritycenterV2AdcApplication",
8440+
"description": "The ADC application associated with the finding."
8441+
},
8442+
"adcApplicationTemplate": {
8443+
"$ref": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision",
8444+
"description": "The ADC template associated with the finding."
8445+
},
8446+
"adcSharedTemplate": {
8447+
"$ref": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision",
8448+
"description": "The ADC shared template associated with the finding."
8449+
},
83038450
"application": {
83048451
"$ref": "GoogleCloudSecuritycenterV2ResourceApplication",
83058452
"description": "The App Hub application this resource belongs to."

src/apis/securitycenter/v1beta1.ts

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,37 @@ export namespace securitycenter_v1beta1 {
215215
*/
216216
confidence?: number | null;
217217
}
218+
/**
219+
* Represents an ADC application associated with the finding.
220+
*/
221+
export interface Schema$AdcApplication {
222+
/**
223+
* Consumer provided attributes for the AppHub application.
224+
*/
225+
attributes?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes;
226+
/**
227+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
228+
*/
229+
name?: string | null;
230+
}
231+
/**
232+
* Represents an ADC template associated with the finding.
233+
*/
234+
export interface Schema$AdcApplicationTemplateRevision {
235+
/**
236+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
237+
*/
238+
name?: string | null;
239+
}
240+
/**
241+
* Represents an ADC shared template associated with the finding.
242+
*/
243+
export interface Schema$AdcSharedTemplateRevision {
244+
/**
245+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
246+
*/
247+
name?: string | null;
248+
}
218249
/**
219250
* Details about resources affected by this finding.
220251
*/
@@ -2095,6 +2126,18 @@ export namespace securitycenter_v1beta1 {
20952126
* Information related to the Google Cloud resource.
20962127
*/
20972128
export interface Schema$GoogleCloudSecuritycenterV1Resource {
2129+
/**
2130+
* The ADC application associated with the finding.
2131+
*/
2132+
adcApplication?: Schema$AdcApplication;
2133+
/**
2134+
* The ADC template associated with the finding.
2135+
*/
2136+
adcApplicationTemplate?: Schema$AdcApplicationTemplateRevision;
2137+
/**
2138+
* The ADC shared template associated with the finding.
2139+
*/
2140+
adcSharedTemplate?: Schema$AdcSharedTemplateRevision;
20982141
/**
20992142
* The App Hub application this resource belongs to.
21002143
*/
@@ -2441,6 +2484,37 @@ export namespace securitycenter_v1beta1 {
24412484
*/
24422485
confidence?: number | null;
24432486
}
2487+
/**
2488+
* Represents an ADC application associated with the finding.
2489+
*/
2490+
export interface Schema$GoogleCloudSecuritycenterV2AdcApplication {
2491+
/**
2492+
* Consumer provided attributes for the AppHub application.
2493+
*/
2494+
attributes?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes;
2495+
/**
2496+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
2497+
*/
2498+
name?: string | null;
2499+
}
2500+
/**
2501+
* Represents an ADC template associated with the finding.
2502+
*/
2503+
export interface Schema$GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision {
2504+
/**
2505+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
2506+
*/
2507+
name?: string | null;
2508+
}
2509+
/**
2510+
* Represents an ADC shared template associated with the finding.
2511+
*/
2512+
export interface Schema$GoogleCloudSecuritycenterV2AdcSharedTemplateRevision {
2513+
/**
2514+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
2515+
*/
2516+
name?: string | null;
2517+
}
24442518
/**
24452519
* Details about resources affected by this finding.
24462520
*/
@@ -4045,6 +4119,18 @@ export namespace securitycenter_v1beta1 {
40454119
* A resource associated with the an issue.
40464120
*/
40474121
export interface Schema$GoogleCloudSecuritycenterV2IssueResource {
4122+
/**
4123+
* The ADC application associated with the finding.
4124+
*/
4125+
adcApplication?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplication;
4126+
/**
4127+
* The ADC template associated with the finding.
4128+
*/
4129+
adcApplicationTemplate?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision;
4130+
/**
4131+
* The ADC shared template associated with the finding.
4132+
*/
4133+
adcSharedTemplate?: Schema$GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision;
40484134
/**
40494135
* The AppHub application associated with the resource, if any. Only populated for the primary resource.
40504136
*/
@@ -4078,6 +4164,37 @@ export namespace securitycenter_v1beta1 {
40784164
*/
40794165
type?: string | null;
40804166
}
4167+
/**
4168+
* Represents an ADC application associated with the finding.
4169+
*/
4170+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplication {
4171+
/**
4172+
* Consumer provided attributes for the AppHub application.
4173+
*/
4174+
attributes?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes;
4175+
/**
4176+
* The resource name of an ADC Application. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applications/{application\}
4177+
*/
4178+
name?: string | null;
4179+
}
4180+
/**
4181+
* Represents an ADC template associated with the finding.
4182+
*/
4183+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision {
4184+
/**
4185+
* The resource name of an ADC Application Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
4186+
*/
4187+
name?: string | null;
4188+
}
4189+
/**
4190+
* Represents an ADC shared template associated with the finding.
4191+
*/
4192+
export interface Schema$GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision {
4193+
/**
4194+
* The resource name of an ADC Shared Template Revision. Format: projects/{project\}/locations/{location\}/spaces/{space\}/applicationTemplates/{application_template\}/revisions/{revision\}
4195+
*/
4196+
name?: string | null;
4197+
}
40814198
/**
40824199
* The AppHub application associated with the resource, if any.
40834200
*/
@@ -4745,6 +4862,18 @@ export namespace securitycenter_v1beta1 {
47454862
* Information related to the Google Cloud resource.
47464863
*/
47474864
export interface Schema$GoogleCloudSecuritycenterV2Resource {
4865+
/**
4866+
* The ADC application associated with the finding.
4867+
*/
4868+
adcApplication?: Schema$GoogleCloudSecuritycenterV2AdcApplication;
4869+
/**
4870+
* The ADC template associated with the finding.
4871+
*/
4872+
adcApplicationTemplate?: Schema$GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision;
4873+
/**
4874+
* The ADC shared template associated with the finding.
4875+
*/
4876+
adcSharedTemplate?: Schema$GoogleCloudSecuritycenterV2AdcSharedTemplateRevision;
47484877
/**
47494878
* The App Hub application this resource belongs to.
47504879
*/

0 commit comments

Comments
 (0)