Skip to content

Commit 40f5b3b

Browse files
yoshi-automationfeywind
authored andcommitted
feat(securitycenter): update the API
#### securitycenter:v1beta1 The following keys were added: - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.CloudDlpDataProfile.properties.infoTypes.description - schemas.CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.description - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2InfoType.description - schemas.GoogleCloudSecuritycenterV2InfoType.id - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.type - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.$ref - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.type - schemas.GoogleCloudSecuritycenterV2InfoType.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.id - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enum - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.type - schemas.InfoType.description - schemas.InfoType.id - schemas.InfoType.properties.name.description - schemas.InfoType.properties.name.type - schemas.InfoType.properties.sensitivityScore.$ref - schemas.InfoType.properties.sensitivityScore.description - schemas.InfoType.properties.version.description - schemas.InfoType.properties.version.type - schemas.InfoType.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.SensitivityScore.description - schemas.SensitivityScore.id - schemas.SensitivityScore.properties.score.description - schemas.SensitivityScore.properties.score.enum - schemas.SensitivityScore.properties.score.enumDescriptions - schemas.SensitivityScore.properties.score.type - schemas.SensitivityScore.type The following keys were changed: - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enumDescriptions - schemas.MitreAttack.properties.additionalTechniques.items.enum - schemas.MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.MitreAttack.properties.primaryTechniques.items.enum - schemas.MitreAttack.properties.primaryTechniques.items.enumDescriptions #### securitycenter:v1beta2 The following keys were added: - schemas.CloudDlpDataProfile.properties.infoTypes.description - schemas.CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.description - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2InfoType.description - schemas.GoogleCloudSecuritycenterV2InfoType.id - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.type - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.$ref - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.type - schemas.GoogleCloudSecuritycenterV2InfoType.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.id - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enum - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.type - schemas.InfoType.description - schemas.InfoType.id - schemas.InfoType.properties.name.description - schemas.InfoType.properties.name.type - schemas.InfoType.properties.sensitivityScore.$ref - schemas.InfoType.properties.sensitivityScore.description - schemas.InfoType.properties.version.description - schemas.InfoType.properties.version.type - schemas.InfoType.type - schemas.SensitivityScore.description - schemas.SensitivityScore.id - schemas.SensitivityScore.properties.score.description - schemas.SensitivityScore.properties.score.enum - schemas.SensitivityScore.properties.score.enumDescriptions - schemas.SensitivityScore.properties.score.type - schemas.SensitivityScore.type The following keys were changed: - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enumDescriptions - schemas.MitreAttack.properties.additionalTechniques.items.enum - schemas.MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.MitreAttack.properties.primaryTechniques.items.enum - schemas.MitreAttack.properties.primaryTechniques.items.enumDescriptions #### securitycenter:v1 The following keys were added: - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.organizations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.CloudDlpDataProfile.properties.infoTypes.description - schemas.CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.description - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.items.$ref - schemas.GoogleCloudSecuritycenterV2CloudDlpDataProfile.properties.infoTypes.type - schemas.GoogleCloudSecuritycenterV2InfoType.description - schemas.GoogleCloudSecuritycenterV2InfoType.id - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.name.type - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.$ref - schemas.GoogleCloudSecuritycenterV2InfoType.properties.sensitivityScore.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.description - schemas.GoogleCloudSecuritycenterV2InfoType.properties.version.type - schemas.GoogleCloudSecuritycenterV2InfoType.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.id - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.description - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enum - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.enumDescriptions - schemas.GoogleCloudSecuritycenterV2SensitivityScore.properties.score.type - schemas.GoogleCloudSecuritycenterV2SensitivityScore.type - schemas.InfoType.description - schemas.InfoType.id - schemas.InfoType.properties.name.description - schemas.InfoType.properties.name.type - schemas.InfoType.properties.sensitivityScore.$ref - schemas.InfoType.properties.sensitivityScore.description - schemas.InfoType.properties.version.description - schemas.InfoType.properties.version.type - schemas.InfoType.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.SensitivityScore.description - schemas.SensitivityScore.id - schemas.SensitivityScore.properties.score.description - schemas.SensitivityScore.properties.score.enum - schemas.SensitivityScore.properties.score.enumDescriptions - schemas.SensitivityScore.properties.score.type - schemas.SensitivityScore.type The following keys were changed: - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enum - schemas.GoogleCloudSecuritycenterV2MitreAttack.properties.primaryTechniques.items.enumDescriptions - schemas.MitreAttack.properties.additionalTechniques.items.enum - schemas.MitreAttack.properties.additionalTechniques.items.enumDescriptions - schemas.MitreAttack.properties.primaryTechniques.items.enum - schemas.MitreAttack.properties.primaryTechniques.items.enumDescriptions
1 parent d1b64f4 commit 40f5b3b

File tree

6 files changed

+561
-5
lines changed

6 files changed

+561
-5
lines changed

discovery/securitycenter-v1.json

Lines changed: 123 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3006,6 +3006,11 @@
30063006
"description": "The standard list page token.",
30073007
"location": "query",
30083008
"type": "string"
3009+
},
3010+
"returnPartialSuccess": {
3011+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
3012+
"location": "query",
3013+
"type": "boolean"
30093014
}
30103015
},
30113016
"path": "v1/{+name}",
@@ -5938,7 +5943,7 @@
59385943
}
59395944
}
59405945
},
5941-
"revision": "20250915",
5946+
"revision": "20251006",
59425947
"rootUrl": "https://securitycenter.googleapis.com/",
59435948
"schemas": {
59445949
"Access": {
@@ -6848,6 +6853,13 @@
68486853
"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.",
68496854
"type": "string"
68506855
},
6856+
"infoTypes": {
6857+
"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.",
6858+
"items": {
6859+
"$ref": "InfoType"
6860+
},
6861+
"type": "array"
6862+
},
68516863
"parentType": {
68526864
"description": "The resource hierarchy level at which the data profile was generated.",
68536865
"enum": [
@@ -9996,6 +10008,13 @@
999610008
"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.",
999710009
"type": "string"
999810010
},
10011+
"infoTypes": {
10012+
"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.",
10013+
"items": {
10014+
"$ref": "GoogleCloudSecuritycenterV2InfoType"
10015+
},
10016+
"type": "array"
10017+
},
999910018
"parentType": {
1000010019
"description": "The resource hierarchy level at which the data profile was generated.",
1000110020
"enum": [
@@ -11442,6 +11461,25 @@
1144211461
},
1144311462
"type": "object"
1144411463
},
11464+
"GoogleCloudSecuritycenterV2InfoType": {
11465+
"description": "Type of information detected by the API.",
11466+
"id": "GoogleCloudSecuritycenterV2InfoType",
11467+
"properties": {
11468+
"name": {
11469+
"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.",
11470+
"type": "string"
11471+
},
11472+
"sensitivityScore": {
11473+
"$ref": "GoogleCloudSecuritycenterV2SensitivityScore",
11474+
"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling."
11475+
},
11476+
"version": {
11477+
"description": "Optional version name for this InfoType.",
11478+
"type": "string"
11479+
}
11480+
},
11481+
"type": "object"
11482+
},
1144511483
"GoogleCloudSecuritycenterV2IpRule": {
1144611484
"description": "IP rule information.",
1144711485
"id": "GoogleCloudSecuritycenterV2IpRule",
@@ -12239,6 +12277,7 @@
1223912277
"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS",
1224012278
"EXPLOITATION_FOR_CLIENT_EXECUTION",
1224112279
"USER_EXECUTION",
12280+
"EXPLOITATION_FOR_CREDENTIAL_ACCESS",
1224212281
"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION",
1224312282
"DOMAIN_POLICY_MODIFICATION",
1224412283
"DATA_DESTRUCTION",
@@ -12379,6 +12418,7 @@
1237912418
"T1195.001",
1238012419
"T1203",
1238112420
"T1204",
12421+
"T1212",
1238212422
"T1222.002",
1238312423
"T1484",
1238412424
"T1485",
@@ -12564,6 +12604,7 @@
1256412604
"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS",
1256512605
"EXPLOITATION_FOR_CLIENT_EXECUTION",
1256612606
"USER_EXECUTION",
12607+
"EXPLOITATION_FOR_CREDENTIAL_ACCESS",
1256712608
"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION",
1256812609
"DOMAIN_POLICY_MODIFICATION",
1256912610
"DATA_DESTRUCTION",
@@ -12704,6 +12745,7 @@
1270412745
"T1195.001",
1270512746
"T1203",
1270612747
"T1204",
12748+
"T1212",
1270712749
"T1222.002",
1270812750
"T1484",
1270912751
"T1485",
@@ -13602,6 +13644,31 @@
1360213644
},
1360313645
"type": "object"
1360413646
},
13647+
"GoogleCloudSecuritycenterV2SensitivityScore": {
13648+
"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.",
13649+
"id": "GoogleCloudSecuritycenterV2SensitivityScore",
13650+
"properties": {
13651+
"score": {
13652+
"description": "The sensitivity score applied to the resource.",
13653+
"enum": [
13654+
"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED",
13655+
"SENSITIVITY_LOW",
13656+
"SENSITIVITY_UNKNOWN",
13657+
"SENSITIVITY_MODERATE",
13658+
"SENSITIVITY_HIGH"
13659+
],
13660+
"enumDescriptions": [
13661+
"Unused.",
13662+
"No sensitive information detected. The resource isn't publicly accessible.",
13663+
"Unable to determine sensitivity.",
13664+
"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.",
13665+
"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII."
13666+
],
13667+
"type": "string"
13668+
}
13669+
},
13670+
"type": "object"
13671+
},
1360513672
"GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo": {
1360613673
"description": "Identity delegation history of an authenticated service account.",
1360713674
"id": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo",
@@ -14043,6 +14110,25 @@
1404314110
},
1404414111
"type": "object"
1404514112
},
14113+
"InfoType": {
14114+
"description": "Type of information detected by the API.",
14115+
"id": "InfoType",
14116+
"properties": {
14117+
"name": {
14118+
"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.",
14119+
"type": "string"
14120+
},
14121+
"sensitivityScore": {
14122+
"$ref": "SensitivityScore",
14123+
"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling."
14124+
},
14125+
"version": {
14126+
"description": "Optional version name for this InfoType.",
14127+
"type": "string"
14128+
}
14129+
},
14130+
"type": "object"
14131+
},
1404614132
"IpRule": {
1404714133
"description": "IP rule information.",
1404814134
"id": "IpRule",
@@ -14557,6 +14643,13 @@
1455714643
"$ref": "Operation"
1455814644
},
1455914645
"type": "array"
14646+
},
14647+
"unreachable": {
14648+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
14649+
"items": {
14650+
"type": "string"
14651+
},
14652+
"type": "array"
1456014653
}
1456114654
},
1456214655
"type": "object"
@@ -14800,6 +14893,7 @@
1480014893
"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS",
1480114894
"EXPLOITATION_FOR_CLIENT_EXECUTION",
1480214895
"USER_EXECUTION",
14896+
"EXPLOITATION_FOR_CREDENTIAL_ACCESS",
1480314897
"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION",
1480414898
"DOMAIN_POLICY_MODIFICATION",
1480514899
"DATA_DESTRUCTION",
@@ -14940,6 +15034,7 @@
1494015034
"T1195.001",
1494115035
"T1203",
1494215036
"T1204",
15037+
"T1212",
1494315038
"T1222.002",
1494415039
"T1484",
1494515040
"T1485",
@@ -15125,6 +15220,7 @@
1512515220
"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS",
1512615221
"EXPLOITATION_FOR_CLIENT_EXECUTION",
1512715222
"USER_EXECUTION",
15223+
"EXPLOITATION_FOR_CREDENTIAL_ACCESS",
1512815224
"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION",
1512915225
"DOMAIN_POLICY_MODIFICATION",
1513015226
"DATA_DESTRUCTION",
@@ -15265,6 +15361,7 @@
1526515361
"T1195.001",
1526615362
"T1203",
1526715363
"T1204",
15364+
"T1212",
1526815365
"T1222.002",
1526915366
"T1484",
1527015367
"T1485",
@@ -16192,6 +16289,31 @@
1619216289
},
1619316290
"type": "object"
1619416291
},
16292+
"SensitivityScore": {
16293+
"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.",
16294+
"id": "SensitivityScore",
16295+
"properties": {
16296+
"score": {
16297+
"description": "The sensitivity score applied to the resource.",
16298+
"enum": [
16299+
"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED",
16300+
"SENSITIVITY_LOW",
16301+
"SENSITIVITY_UNKNOWN",
16302+
"SENSITIVITY_MODERATE",
16303+
"SENSITIVITY_HIGH"
16304+
],
16305+
"enumDescriptions": [
16306+
"Unused.",
16307+
"No sensitive information detected. The resource isn't publicly accessible.",
16308+
"Unable to determine sensitivity.",
16309+
"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.",
16310+
"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII."
16311+
],
16312+
"type": "string"
16313+
}
16314+
},
16315+
"type": "object"
16316+
},
1619516317
"ServiceAccountDelegationInfo": {
1619616318
"description": "Identity delegation history of an authenticated service account.",
1619716319
"id": "ServiceAccountDelegationInfo",

0 commit comments

Comments
 (0)