Skip to content

Commit 39b4fe5

Browse files
yoshi-automationsofisl
authored andcommittedSep 22, 2023
feat(securitycenter): update the API
#### securitycenter:v1beta1 The following keys were added: - schemas.Exfiltration.properties.totalExfiltratedBytes.description - schemas.Exfiltration.properties.totalExfiltratedBytes.format - schemas.Exfiltration.properties.totalExfiltratedBytes.type The following keys were changed: - schemas.Finding.properties.findingClass.enum - schemas.Finding.properties.findingClass.enumDescriptions - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalSystemUpdateTime.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalUid.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.status.description #### securitycenter:v1beta2 The following keys were added: - schemas.Exfiltration.properties.totalExfiltratedBytes.description - schemas.Exfiltration.properties.totalExfiltratedBytes.format - schemas.Exfiltration.properties.totalExfiltratedBytes.type The following keys were changed: - schemas.Finding.properties.findingClass.enum - schemas.Finding.properties.findingClass.enumDescriptions - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalSystemUpdateTime.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalUid.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.status.description - schemas.Subscription.properties.tier.enum - schemas.Subscription.properties.tier.enumDescriptions #### securitycenter:v1 The following keys were added: - schemas.Exfiltration.properties.totalExfiltratedBytes.description - schemas.Exfiltration.properties.totalExfiltratedBytes.format - schemas.Exfiltration.properties.totalExfiltratedBytes.type The following keys were changed: - schemas.Finding.properties.findingClass.enum - schemas.Finding.properties.findingClass.enumDescriptions - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalSystemUpdateTime.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.externalUid.description - schemas.GoogleCloudSecuritycenterV1ExternalSystem.properties.status.description
1 parent 62c9a90 commit 39b4fe5

File tree

6 files changed

+64
-29
lines changed

6 files changed

+64
-29
lines changed
 

‎discovery/securitycenter-v1.json

+13-6
Original file line numberDiff line numberDiff line change
@@ -4750,7 +4750,7 @@
47504750
}
47514751
}
47524752
},
4753-
"revision": "20230807",
4753+
"revision": "20230914",
47544754
"rootUrl": "https://securitycenter.googleapis.com/",
47554755
"schemas": {
47564756
"Access": {
@@ -5753,6 +5753,11 @@
57535753
"$ref": "ExfilResource"
57545754
},
57555755
"type": "array"
5756+
},
5757+
"totalExfiltratedBytes": {
5758+
"description": "Total exfiltrated bytes processed for the entire job.",
5759+
"format": "int64",
5760+
"type": "string"
57565761
}
57575762
},
57585763
"type": "object"
@@ -5919,15 +5924,17 @@
59195924
"VULNERABILITY",
59205925
"MISCONFIGURATION",
59215926
"OBSERVATION",
5922-
"SCC_ERROR"
5927+
"SCC_ERROR",
5928+
"POSTURE_VIOLATION"
59235929
],
59245930
"enumDescriptions": [
59255931
"Unspecified finding class.",
59265932
"Describes unwanted or malicious activity.",
59275933
"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
59285934
"Describes a potential weakness in cloud resource/asset configuration that increases risk.",
59295935
"Describes a security observation that is for informational purposes.",
5930-
"Describes an error that prevents some SCC functionality."
5936+
"Describes an error that prevents some SCC functionality.",
5937+
"Describes a potential security risk due to a change in the security posture."
59315938
],
59325939
"type": "string"
59335940
},
@@ -6297,20 +6304,20 @@
62976304
"type": "array"
62986305
},
62996306
"externalSystemUpdateTime": {
6300-
"description": "The most recent time when the corresponding finding's ticket/tracker was updated in the external system.",
6307+
"description": "The time when the case was last updated, as reported by the external system.",
63016308
"format": "google-datetime",
63026309
"type": "string"
63036310
},
63046311
"externalUid": {
6305-
"description": "Identifier that's used to track the given finding in the external system.",
6312+
"description": "The identifier that's used to track the finding's corresponding case in the external system.",
63066313
"type": "string"
63076314
},
63086315
"name": {
63096316
"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"",
63106317
"type": "string"
63116318
},
63126319
"status": {
6313-
"description": "Most recent status of the corresponding finding's ticket/tracker in the external system.",
6320+
"description": "The most recent status of the finding's corresponding case, as reported by the external system.",
63146321
"type": "string"
63156322
}
63166323
},

‎discovery/securitycenter-v1beta1.json

+13-6
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@
896896
}
897897
}
898898
},
899-
"revision": "20230807",
899+
"revision": "20230914",
900900
"rootUrl": "https://securitycenter.googleapis.com/",
901901
"schemas": {
902902
"Access": {
@@ -1618,6 +1618,11 @@
16181618
"$ref": "ExfilResource"
16191619
},
16201620
"type": "array"
1621+
},
1622+
"totalExfiltratedBytes": {
1623+
"description": "Total exfiltrated bytes processed for the entire job.",
1624+
"format": "int64",
1625+
"type": "string"
16211626
}
16221627
},
16231628
"type": "object"
@@ -1784,15 +1789,17 @@
17841789
"VULNERABILITY",
17851790
"MISCONFIGURATION",
17861791
"OBSERVATION",
1787-
"SCC_ERROR"
1792+
"SCC_ERROR",
1793+
"POSTURE_VIOLATION"
17881794
],
17891795
"enumDescriptions": [
17901796
"Unspecified finding class.",
17911797
"Describes unwanted or malicious activity.",
17921798
"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
17931799
"Describes a potential weakness in cloud resource/asset configuration that increases risk.",
17941800
"Describes a security observation that is for informational purposes.",
1795-
"Describes an error that prevents some SCC functionality."
1801+
"Describes an error that prevents some SCC functionality.",
1802+
"Describes a potential security risk due to a change in the security posture."
17961803
],
17971804
"type": "string"
17981805
},
@@ -2162,20 +2169,20 @@
21622169
"type": "array"
21632170
},
21642171
"externalSystemUpdateTime": {
2165-
"description": "The most recent time when the corresponding finding's ticket/tracker was updated in the external system.",
2172+
"description": "The time when the case was last updated, as reported by the external system.",
21662173
"format": "google-datetime",
21672174
"type": "string"
21682175
},
21692176
"externalUid": {
2170-
"description": "Identifier that's used to track the given finding in the external system.",
2177+
"description": "The identifier that's used to track the finding's corresponding case in the external system.",
21712178
"type": "string"
21722179
},
21732180
"name": {
21742181
"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"",
21752182
"type": "string"
21762183
},
21772184
"status": {
2178-
"description": "Most recent status of the corresponding finding's ticket/tracker in the external system.",
2185+
"description": "The most recent status of the finding's corresponding case, as reported by the external system.",
21792186
"type": "string"
21802187
}
21812188
},

‎discovery/securitycenter-v1beta2.json

+17-8
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@
19811981
}
19821982
}
19831983
},
1984-
"revision": "20230727",
1984+
"revision": "20230914",
19851985
"rootUrl": "https://securitycenter.googleapis.com/",
19861986
"schemas": {
19871987
"Access": {
@@ -2710,6 +2710,11 @@
27102710
"$ref": "ExfilResource"
27112711
},
27122712
"type": "array"
2713+
},
2714+
"totalExfiltratedBytes": {
2715+
"description": "Total exfiltrated bytes processed for the entire job.",
2716+
"format": "int64",
2717+
"type": "string"
27132718
}
27142719
},
27152720
"type": "object"
@@ -2876,15 +2881,17 @@
28762881
"VULNERABILITY",
28772882
"MISCONFIGURATION",
28782883
"OBSERVATION",
2879-
"SCC_ERROR"
2884+
"SCC_ERROR",
2885+
"POSTURE_VIOLATION"
28802886
],
28812887
"enumDescriptions": [
28822888
"Unspecified finding class.",
28832889
"Describes unwanted or malicious activity.",
28842890
"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
28852891
"Describes a potential weakness in cloud resource/asset configuration that increases risk.",
28862892
"Describes a security observation that is for informational purposes.",
2887-
"Describes an error that prevents some SCC functionality."
2893+
"Describes an error that prevents some SCC functionality.",
2894+
"Describes a potential security risk due to a change in the security posture."
28882895
],
28892896
"type": "string"
28902897
},
@@ -3231,20 +3238,20 @@
32313238
"type": "array"
32323239
},
32333240
"externalSystemUpdateTime": {
3234-
"description": "The most recent time when the corresponding finding's ticket/tracker was updated in the external system.",
3241+
"description": "The time when the case was last updated, as reported by the external system.",
32353242
"format": "google-datetime",
32363243
"type": "string"
32373244
},
32383245
"externalUid": {
3239-
"description": "Identifier that's used to track the given finding in the external system.",
3246+
"description": "The identifier that's used to track the finding's corresponding case in the external system.",
32403247
"type": "string"
32413248
},
32423249
"name": {
32433250
"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"",
32443251
"type": "string"
32453252
},
32463253
"status": {
3247-
"description": "Most recent status of the corresponding finding's ticket/tracker in the external system.",
3254+
"description": "The most recent status of the finding's corresponding case, as reported by the external system.",
32483255
"type": "string"
32493256
}
32503257
},
@@ -4605,12 +4612,14 @@
46054612
"enum": [
46064613
"TIER_UNSPECIFIED",
46074614
"STANDARD",
4608-
"PREMIUM"
4615+
"PREMIUM",
4616+
"ENTERPRISE"
46094617
],
46104618
"enumDescriptions": [
46114619
"Default value. This value is unused.",
46124620
"The standard tier.",
4613-
"The premium tier."
4621+
"The premium tier.",
4622+
"The enterprise tier."
46144623
],
46154624
"type": "string"
46164625
}

‎src/apis/securitycenter/v1.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,10 @@ export namespace securitycenter_v1 {
797797
* If there are multiple targets, each target would get a complete copy of the "joined" source data.
798798
*/
799799
targets?: Schema$ExfilResource[];
800+
/**
801+
* Total exfiltrated bytes processed for the entire job.
802+
*/
803+
totalExfiltratedBytes?: string | null;
800804
}
801805
/**
802806
* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
@@ -1194,19 +1198,19 @@ export namespace securitycenter_v1 {
11941198
*/
11951199
assignees?: string[] | null;
11961200
/**
1197-
* The most recent time when the corresponding finding's ticket/tracker was updated in the external system.
1201+
* The time when the case was last updated, as reported by the external system.
11981202
*/
11991203
externalSystemUpdateTime?: string | null;
12001204
/**
1201-
* Identifier that's used to track the given finding in the external system.
1205+
* The identifier that's used to track the finding's corresponding case in the external system.
12021206
*/
12031207
externalUid?: string | null;
12041208
/**
12051209
* Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
12061210
*/
12071211
name?: string | null;
12081212
/**
1209-
* Most recent status of the corresponding finding's ticket/tracker in the external system.
1213+
* The most recent status of the finding's corresponding case, as reported by the external system.
12101214
*/
12111215
status?: string | null;
12121216
}

‎src/apis/securitycenter/v1beta1.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,10 @@ export namespace securitycenter_v1beta1 {
593593
* If there are multiple targets, each target would get a complete copy of the "joined" source data.
594594
*/
595595
targets?: Schema$ExfilResource[];
596+
/**
597+
* Total exfiltrated bytes processed for the entire job.
598+
*/
599+
totalExfiltratedBytes?: string | null;
596600
}
597601
/**
598602
* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
@@ -1048,19 +1052,19 @@ export namespace securitycenter_v1beta1 {
10481052
*/
10491053
assignees?: string[] | null;
10501054
/**
1051-
* The most recent time when the corresponding finding's ticket/tracker was updated in the external system.
1055+
* The time when the case was last updated, as reported by the external system.
10521056
*/
10531057
externalSystemUpdateTime?: string | null;
10541058
/**
1055-
* Identifier that's used to track the given finding in the external system.
1059+
* The identifier that's used to track the finding's corresponding case in the external system.
10561060
*/
10571061
externalUid?: string | null;
10581062
/**
10591063
* Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
10601064
*/
10611065
name?: string | null;
10621066
/**
1063-
* Most recent status of the corresponding finding's ticket/tracker in the external system.
1067+
* The most recent status of the finding's corresponding case, as reported by the external system.
10641068
*/
10651069
status?: string | null;
10661070
}

‎src/apis/securitycenter/v1beta2.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ export namespace securitycenter_v1beta2 {
580580
* If there are multiple targets, each target would get a complete copy of the "joined" source data.
581581
*/
582582
targets?: Schema$ExfilResource[];
583+
/**
584+
* Total exfiltrated bytes processed for the entire job.
585+
*/
586+
totalExfiltratedBytes?: string | null;
583587
}
584588
/**
585589
* Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
@@ -959,19 +963,19 @@ export namespace securitycenter_v1beta2 {
959963
*/
960964
assignees?: string[] | null;
961965
/**
962-
* The most recent time when the corresponding finding's ticket/tracker was updated in the external system.
966+
* The time when the case was last updated, as reported by the external system.
963967
*/
964968
externalSystemUpdateTime?: string | null;
965969
/**
966-
* Identifier that's used to track the given finding in the external system.
970+
* The identifier that's used to track the finding's corresponding case in the external system.
967971
*/
968972
externalUid?: string | null;
969973
/**
970974
* Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"
971975
*/
972976
name?: string | null;
973977
/**
974-
* Most recent status of the corresponding finding's ticket/tracker in the external system.
978+
* The most recent status of the finding's corresponding case, as reported by the external system.
975979
*/
976980
status?: string | null;
977981
}

0 commit comments

Comments
 (0)
Please sign in to comment.