Skip to content

Commit 07cd6fd

Browse files
feat(securitycenter): update the api
#### securitycenter:v1 The following keys were added: - schemas.CloudDlpDataProfile (Total Keys: 3) - schemas.CloudDlpInspection (Total Keys: 7) - schemas.Finding.properties.cloudDlpDataProfile.$ref (Total Keys: 1) - schemas.Finding.properties.cloudDlpInspection.$ref (Total Keys: 1) - schemas.Finding.properties.moduleName.type (Total Keys: 1) - schemas.Finding.properties.orgPolicyConstraints (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.createTime (Total Keys: 3) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceLabelsSelector (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.updateTime (Total Keys: 3) - schemas.OrgPolicyConstraint (Total Keys: 3) #### securitycenter:v1beta1 The following keys were added: - schemas.CloudDlpDataProfile (Total Keys: 3) - schemas.CloudDlpInspection (Total Keys: 7) - schemas.Finding.properties.cloudDlpDataProfile.$ref (Total Keys: 1) - schemas.Finding.properties.cloudDlpInspection.$ref (Total Keys: 1) - schemas.Finding.properties.moduleName.type (Total Keys: 1) - schemas.Finding.properties.orgPolicyConstraints (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.createTime (Total Keys: 3) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceLabelsSelector (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.updateTime (Total Keys: 3) - schemas.OrgPolicyConstraint (Total Keys: 3) #### securitycenter:v1beta2 The following keys were added: - schemas.CloudDlpDataProfile (Total Keys: 3) - schemas.CloudDlpInspection (Total Keys: 7) - schemas.Finding.properties.cloudDlpDataProfile.$ref (Total Keys: 1) - schemas.Finding.properties.cloudDlpInspection.$ref (Total Keys: 1) - schemas.Finding.properties.moduleName.type (Total Keys: 1) - schemas.Finding.properties.orgPolicyConstraints (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.createTime (Total Keys: 3) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceLabelsSelector (Total Keys: 2) - schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.updateTime (Total Keys: 3) - schemas.OrgPolicyConstraint (Total Keys: 3)
1 parent 6b264c0 commit 07cd6fd

6 files changed

+526
-5
lines changed

docs/dyn/securitycenter_v1.folders.sources.findings.html

Lines changed: 75 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/securitycenter_v1.organizations.sources.findings.html

Lines changed: 105 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/securitycenter_v1.projects.sources.findings.html

Lines changed: 75 additions & 0 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/securitycenter.v1.json

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3372,7 +3372,7 @@
33723372
}
33733373
}
33743374
},
3375-
"revision": "20230309",
3375+
"revision": "20230321",
33763376
"rootUrl": "https://securitycenter.googleapis.com/",
33773377
"schemas": {
33783378
"Access": {
@@ -3643,6 +3643,41 @@
36433643
},
36443644
"type": "object"
36453645
},
3646+
"CloudDlpDataProfile": {
3647+
"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.",
3648+
"id": "CloudDlpDataProfile",
3649+
"properties": {
3650+
"dataProfile": {
3651+
"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.",
3652+
"type": "string"
3653+
}
3654+
},
3655+
"type": "object"
3656+
},
3657+
"CloudDlpInspection": {
3658+
"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.",
3659+
"id": "CloudDlpInspection",
3660+
"properties": {
3661+
"fullScan": {
3662+
"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.",
3663+
"type": "boolean"
3664+
},
3665+
"infoType": {
3666+
"description": "The [type of information](https://cloud.google.com/dlp/docs/infotypes-reference) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.",
3667+
"type": "string"
3668+
},
3669+
"infoTypeCount": {
3670+
"description": "The number of times Cloud DLP found this infoType within this job and resource.",
3671+
"format": "int64",
3672+
"type": "string"
3673+
},
3674+
"inspectJob": {
3675+
"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.",
3676+
"type": "string"
3677+
}
3678+
},
3679+
"type": "object"
3680+
},
36463681
"Compliance": {
36473682
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
36483683
"id": "Compliance",
@@ -4116,6 +4151,14 @@
41164151
"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"",
41174152
"type": "string"
41184153
},
4154+
"cloudDlpDataProfile": {
4155+
"$ref": "CloudDlpDataProfile",
4156+
"description": "Cloud DLP data profile associated with the finding."
4157+
},
4158+
"cloudDlpInspection": {
4159+
"$ref": "CloudDlpInspection",
4160+
"description": "Cloud DLP inspection associated with the finding."
4161+
},
41194162
"compliances": {
41204163
"description": "Contains compliance information for security standards associated to the finding.",
41214164
"items": {
@@ -4229,6 +4272,10 @@
42294272
"$ref": "MitreAttack",
42304273
"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org"
42314274
},
4275+
"moduleName": {
4276+
"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885",
4277+
"type": "string"
4278+
},
42324279
"mute": {
42334280
"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.",
42344281
"enum": [
@@ -4263,6 +4310,13 @@
42634310
"description": "Next steps associate to the finding.",
42644311
"type": "string"
42654312
},
4313+
"orgPolicyConstraints": {
4314+
"description": "Contains information about the org policy constraints associated with the finding.",
4315+
"items": {
4316+
"$ref": "OrgPolicyConstraint"
4317+
},
4318+
"type": "array"
4319+
},
42664320
"parent": {
42674321
"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"",
42684322
"type": "string"
@@ -4672,10 +4726,27 @@
46724726
"description": "A resource value config is a mapping configuration of user's tag values to resource values. Used by the attack path simulation.",
46734727
"id": "GoogleCloudSecuritycenterV1ResourceValueConfig",
46744728
"properties": {
4729+
"createTime": {
4730+
"description": "Output only. Timestamp this resource value config was created.",
4731+
"format": "google-datetime",
4732+
"readOnly": true,
4733+
"type": "string"
4734+
},
4735+
"description": {
4736+
"description": "Description of the resource value config.",
4737+
"type": "string"
4738+
},
46754739
"name": {
46764740
"description": "Name for the resource value config",
46774741
"type": "string"
46784742
},
4743+
"resourceLabelsSelector": {
4744+
"additionalProperties": {
4745+
"type": "string"
4746+
},
4747+
"description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels",
4748+
"type": "object"
4749+
},
46794750
"resourceType": {
46804751
"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.",
46814752
"type": "string"
@@ -4708,6 +4779,12 @@
47084779
"type": "string"
47094780
},
47104781
"type": "array"
4782+
},
4783+
"updateTime": {
4784+
"description": "Output only. Timestamp this resource value config was last updated.",
4785+
"format": "google-datetime",
4786+
"readOnly": true,
4787+
"type": "string"
47114788
}
47124789
},
47134790
"type": "object"
@@ -5870,6 +5947,17 @@
58705947
},
58715948
"type": "object"
58725949
},
5950+
"OrgPolicyConstraint": {
5951+
"description": "Encapsulates data about a constraint associated with an organization policy.",
5952+
"id": "OrgPolicyConstraint",
5953+
"properties": {
5954+
"name": {
5955+
"description": "The resource name of the constraint. Example: \"organizations/{organization_id}/constraints/{constraint_name}\"",
5956+
"type": "string"
5957+
}
5958+
},
5959+
"type": "object"
5960+
},
58735961
"OrganizationSettings": {
58745962
"description": "User specified settings that are attached to the Security Command Center organization.",
58755963
"id": "OrganizationSettings",

googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@
896896
}
897897
}
898898
},
899-
"revision": "20230309",
899+
"revision": "20230321",
900900
"rootUrl": "https://securitycenter.googleapis.com/",
901901
"schemas": {
902902
"Access": {
@@ -1143,6 +1143,41 @@
11431143
"properties": {},
11441144
"type": "object"
11451145
},
1146+
"CloudDlpDataProfile": {
1147+
"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.",
1148+
"id": "CloudDlpDataProfile",
1149+
"properties": {
1150+
"dataProfile": {
1151+
"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.",
1152+
"type": "string"
1153+
}
1154+
},
1155+
"type": "object"
1156+
},
1157+
"CloudDlpInspection": {
1158+
"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.",
1159+
"id": "CloudDlpInspection",
1160+
"properties": {
1161+
"fullScan": {
1162+
"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.",
1163+
"type": "boolean"
1164+
},
1165+
"infoType": {
1166+
"description": "The [type of information](https://cloud.google.com/dlp/docs/infotypes-reference) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.",
1167+
"type": "string"
1168+
},
1169+
"infoTypeCount": {
1170+
"description": "The number of times Cloud DLP found this infoType within this job and resource.",
1171+
"format": "int64",
1172+
"type": "string"
1173+
},
1174+
"inspectJob": {
1175+
"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.",
1176+
"type": "string"
1177+
}
1178+
},
1179+
"type": "object"
1180+
},
11461181
"Compliance": {
11471182
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
11481183
"id": "Compliance",
@@ -1616,6 +1651,14 @@
16161651
"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"",
16171652
"type": "string"
16181653
},
1654+
"cloudDlpDataProfile": {
1655+
"$ref": "CloudDlpDataProfile",
1656+
"description": "Cloud DLP data profile associated with the finding."
1657+
},
1658+
"cloudDlpInspection": {
1659+
"$ref": "CloudDlpInspection",
1660+
"description": "Cloud DLP inspection associated with the finding."
1661+
},
16191662
"compliances": {
16201663
"description": "Contains compliance information for security standards associated to the finding.",
16211664
"items": {
@@ -1729,6 +1772,10 @@
17291772
"$ref": "MitreAttack",
17301773
"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org"
17311774
},
1775+
"moduleName": {
1776+
"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885",
1777+
"type": "string"
1778+
},
17321779
"mute": {
17331780
"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.",
17341781
"enum": [
@@ -1763,6 +1810,13 @@
17631810
"description": "Next steps associate to the finding.",
17641811
"type": "string"
17651812
},
1813+
"orgPolicyConstraints": {
1814+
"description": "Contains information about the org policy constraints associated with the finding.",
1815+
"items": {
1816+
"$ref": "OrgPolicyConstraint"
1817+
},
1818+
"type": "array"
1819+
},
17661820
"parent": {
17671821
"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"",
17681822
"type": "string"
@@ -2172,10 +2226,27 @@
21722226
"description": "A resource value config is a mapping configuration of user's tag values to resource values. Used by the attack path simulation.",
21732227
"id": "GoogleCloudSecuritycenterV1ResourceValueConfig",
21742228
"properties": {
2229+
"createTime": {
2230+
"description": "Output only. Timestamp this resource value config was created.",
2231+
"format": "google-datetime",
2232+
"readOnly": true,
2233+
"type": "string"
2234+
},
2235+
"description": {
2236+
"description": "Description of the resource value config.",
2237+
"type": "string"
2238+
},
21752239
"name": {
21762240
"description": "Name for the resource value config",
21772241
"type": "string"
21782242
},
2243+
"resourceLabelsSelector": {
2244+
"additionalProperties": {
2245+
"type": "string"
2246+
},
2247+
"description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels",
2248+
"type": "object"
2249+
},
21792250
"resourceType": {
21802251
"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.",
21812252
"type": "string"
@@ -2208,6 +2279,12 @@
22082279
"type": "string"
22092280
},
22102281
"type": "array"
2282+
},
2283+
"updateTime": {
2284+
"description": "Output only. Timestamp this resource value config was last updated.",
2285+
"format": "google-datetime",
2286+
"readOnly": true,
2287+
"type": "string"
22112288
}
22122289
},
22132290
"type": "object"
@@ -3311,6 +3388,17 @@
33113388
},
33123389
"type": "object"
33133390
},
3391+
"OrgPolicyConstraint": {
3392+
"description": "Encapsulates data about a constraint associated with an organization policy.",
3393+
"id": "OrgPolicyConstraint",
3394+
"properties": {
3395+
"name": {
3396+
"description": "The resource name of the constraint. Example: \"organizations/{organization_id}/constraints/{constraint_name}\"",
3397+
"type": "string"
3398+
}
3399+
},
3400+
"type": "object"
3401+
},
33143402
"OrganizationSettings": {
33153403
"description": "User specified settings that are attached to the Security Command Center organization.",
33163404
"id": "OrganizationSettings",

0 commit comments

Comments
 (0)