@googleapis/securitycenter 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/v1.d.ts +106 -7
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +98 -7
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +97 -6
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +106 -7
- package/v1beta1.ts +98 -7
- package/v1beta2.ts +97 -6
package/v1beta1.ts
CHANGED
|
@@ -266,7 +266,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
266
266
|
*/
|
|
267
267
|
export interface Schema$AttackExposure {
|
|
268
268
|
/**
|
|
269
|
-
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/attackExposureResults/
|
|
269
|
+
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
|
|
270
270
|
*/
|
|
271
271
|
attackExposureResult?: string | null;
|
|
272
272
|
/**
|
|
@@ -378,7 +378,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
378
378
|
*/
|
|
379
379
|
members?: string[] | null;
|
|
380
380
|
/**
|
|
381
|
-
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
|
381
|
+
* Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
|
|
382
382
|
*/
|
|
383
383
|
role?: string | null;
|
|
384
384
|
}
|
|
@@ -527,7 +527,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
527
527
|
uri?: string | null;
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
|
-
* CVE stands for Common Vulnerabilities and Exposures.
|
|
530
|
+
* CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.
|
|
531
531
|
*/
|
|
532
532
|
export interface Schema$Cve {
|
|
533
533
|
/**
|
|
@@ -1171,6 +1171,18 @@ export namespace securitycenter_v1beta1 {
|
|
|
1171
1171
|
* References primary/secondary etc assignees in the external system.
|
|
1172
1172
|
*/
|
|
1173
1173
|
assignees?: string[] | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* The priority of the finding's corresponding case in the external system.
|
|
1176
|
+
*/
|
|
1177
|
+
casePriority?: string | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* The SLA of the finding's corresponding case in the external system.
|
|
1180
|
+
*/
|
|
1181
|
+
caseSla?: string | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* The link to the finding's corresponding case in the external system.
|
|
1184
|
+
*/
|
|
1185
|
+
caseUri?: string | null;
|
|
1174
1186
|
/**
|
|
1175
1187
|
* The time when the case was last updated, as reported by the external system.
|
|
1176
1188
|
*/
|
|
@@ -1187,6 +1199,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1187
1199
|
* The most recent status of the finding's corresponding case, as reported by the external system.
|
|
1188
1200
|
*/
|
|
1189
1201
|
status?: string | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
|
|
1204
|
+
*/
|
|
1205
|
+
ticketInfo?: Schema$TicketInfo;
|
|
1190
1206
|
}
|
|
1191
1207
|
/**
|
|
1192
1208
|
* A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
|
|
@@ -1471,6 +1487,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1471
1487
|
* Project or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources.
|
|
1472
1488
|
*/
|
|
1473
1489
|
scope?: string | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
|
|
1492
|
+
*/
|
|
1493
|
+
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1474
1494
|
/**
|
|
1475
1495
|
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
1476
1496
|
*/
|
|
@@ -1526,6 +1546,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
1526
1546
|
*/
|
|
1527
1547
|
updateTime?: string | null;
|
|
1528
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.
|
|
1551
|
+
*/
|
|
1552
|
+
export interface Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping {
|
|
1553
|
+
/**
|
|
1554
|
+
* Resource value mapping for high-sensitivity Sensitive Data Protection findings
|
|
1555
|
+
*/
|
|
1556
|
+
highSensitivityMapping?: string | null;
|
|
1557
|
+
/**
|
|
1558
|
+
* Resource value mapping for medium-sensitivity Sensitive Data Protection findings
|
|
1559
|
+
*/
|
|
1560
|
+
mediumSensitivityMapping?: string | null;
|
|
1561
|
+
}
|
|
1529
1562
|
/**
|
|
1530
1563
|
* Request message for grouping by assets.
|
|
1531
1564
|
*/
|
|
@@ -2050,6 +2083,23 @@ export namespace securitycenter_v1beta1 {
|
|
|
2050
2083
|
*/
|
|
2051
2084
|
version?: number | null;
|
|
2052
2085
|
}
|
|
2086
|
+
/**
|
|
2087
|
+
* The policy field that violates the deployed posture and its expected and and detected values.
|
|
2088
|
+
*/
|
|
2089
|
+
export interface Schema$PolicyDriftDetails {
|
|
2090
|
+
/**
|
|
2091
|
+
* The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892”\}`.
|
|
2092
|
+
*/
|
|
2093
|
+
detectedValue?: string | null;
|
|
2094
|
+
/**
|
|
2095
|
+
* The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892”\}`.
|
|
2096
|
+
*/
|
|
2097
|
+
expectedValue?: string | null;
|
|
2098
|
+
/**
|
|
2099
|
+
* The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
|
|
2100
|
+
*/
|
|
2101
|
+
field?: string | null;
|
|
2102
|
+
}
|
|
2053
2103
|
/**
|
|
2054
2104
|
* Represents an operating system process.
|
|
2055
2105
|
*/
|
|
@@ -2210,19 +2260,31 @@ export namespace securitycenter_v1beta1 {
|
|
|
2210
2260
|
*/
|
|
2211
2261
|
export interface Schema$SecurityPosture {
|
|
2212
2262
|
/**
|
|
2213
|
-
* The name of the policy
|
|
2263
|
+
* The name of the updated policy, for example, `projects/{project_id\}/policies/{constraint_name\}`.
|
|
2214
2264
|
*/
|
|
2215
2265
|
changedPolicy?: string | null;
|
|
2216
2266
|
/**
|
|
2217
|
-
* Name of the posture, for example, `
|
|
2267
|
+
* Name of the posture, for example, `CIS-Posture`.
|
|
2218
2268
|
*/
|
|
2219
2269
|
name?: string | null;
|
|
2220
2270
|
/**
|
|
2221
|
-
* The
|
|
2271
|
+
* The ID of the updated policy, for example, `compute-policy-1`.
|
|
2272
|
+
*/
|
|
2273
|
+
policy?: string | null;
|
|
2274
|
+
/**
|
|
2275
|
+
* The details about a change in an updated policy that violates the deployed posture.
|
|
2276
|
+
*/
|
|
2277
|
+
policyDriftDetails?: Schema$PolicyDriftDetails[];
|
|
2278
|
+
/**
|
|
2279
|
+
* The name of the updated policyset, for example, `cis-policyset`.
|
|
2280
|
+
*/
|
|
2281
|
+
policySet?: string | null;
|
|
2282
|
+
/**
|
|
2283
|
+
* The name of the posture deployment, for example, `organizations/{org_id\}/posturedeployments/{posture_deployment_id\}`.
|
|
2222
2284
|
*/
|
|
2223
2285
|
postureDeployment?: string | null;
|
|
2224
2286
|
/**
|
|
2225
|
-
* The project, folder, or organization on which the posture is deployed, for example, `projects/{
|
|
2287
|
+
* The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number\}`.
|
|
2226
2288
|
*/
|
|
2227
2289
|
postureDeploymentResource?: string | null;
|
|
2228
2290
|
/**
|
|
@@ -2338,6 +2400,35 @@ export namespace securitycenter_v1beta1 {
|
|
|
2338
2400
|
*/
|
|
2339
2401
|
permissions?: string[] | null;
|
|
2340
2402
|
}
|
|
2403
|
+
/**
|
|
2404
|
+
* Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
|
|
2405
|
+
*/
|
|
2406
|
+
export interface Schema$TicketInfo {
|
|
2407
|
+
/**
|
|
2408
|
+
* The assignee of the ticket in the ticket system.
|
|
2409
|
+
*/
|
|
2410
|
+
assignee?: string | null;
|
|
2411
|
+
/**
|
|
2412
|
+
* The description of the ticket in the ticket system.
|
|
2413
|
+
*/
|
|
2414
|
+
description?: string | null;
|
|
2415
|
+
/**
|
|
2416
|
+
* The identifier of the ticket in the ticket system.
|
|
2417
|
+
*/
|
|
2418
|
+
id?: string | null;
|
|
2419
|
+
/**
|
|
2420
|
+
* The latest status of the ticket, as reported by the ticket system.
|
|
2421
|
+
*/
|
|
2422
|
+
status?: string | null;
|
|
2423
|
+
/**
|
|
2424
|
+
* The time when the ticket was last updated, as reported by the ticket system.
|
|
2425
|
+
*/
|
|
2426
|
+
updateTime?: string | null;
|
|
2427
|
+
/**
|
|
2428
|
+
* The link to the ticket in the ticket system.
|
|
2429
|
+
*/
|
|
2430
|
+
uri?: string | null;
|
|
2431
|
+
}
|
|
2341
2432
|
/**
|
|
2342
2433
|
* Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
|
2343
2434
|
*/
|
package/v1beta2.ts
CHANGED
|
@@ -228,7 +228,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
228
228
|
*/
|
|
229
229
|
export interface Schema$AttackExposure {
|
|
230
230
|
/**
|
|
231
|
-
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/attackExposureResults/
|
|
231
|
+
* The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
|
|
232
232
|
*/
|
|
233
233
|
attackExposureResult?: string | null;
|
|
234
234
|
/**
|
|
@@ -480,7 +480,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
480
480
|
updateTime?: string | null;
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
|
-
* CVE stands for Common Vulnerabilities and Exposures.
|
|
483
|
+
* CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.
|
|
484
484
|
*/
|
|
485
485
|
export interface Schema$Cve {
|
|
486
486
|
/**
|
|
@@ -1082,6 +1082,18 @@ export namespace securitycenter_v1beta2 {
|
|
|
1082
1082
|
* References primary/secondary etc assignees in the external system.
|
|
1083
1083
|
*/
|
|
1084
1084
|
assignees?: string[] | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* The priority of the finding's corresponding case in the external system.
|
|
1087
|
+
*/
|
|
1088
|
+
casePriority?: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* The SLA of the finding's corresponding case in the external system.
|
|
1091
|
+
*/
|
|
1092
|
+
caseSla?: string | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* The link to the finding's corresponding case in the external system.
|
|
1095
|
+
*/
|
|
1096
|
+
caseUri?: string | null;
|
|
1085
1097
|
/**
|
|
1086
1098
|
* The time when the case was last updated, as reported by the external system.
|
|
1087
1099
|
*/
|
|
@@ -1098,6 +1110,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1098
1110
|
* The most recent status of the finding's corresponding case, as reported by the external system.
|
|
1099
1111
|
*/
|
|
1100
1112
|
status?: string | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
|
|
1115
|
+
*/
|
|
1116
|
+
ticketInfo?: Schema$TicketInfo;
|
|
1101
1117
|
}
|
|
1102
1118
|
/**
|
|
1103
1119
|
* A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
|
|
@@ -1382,6 +1398,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1382
1398
|
* Project or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources.
|
|
1383
1399
|
*/
|
|
1384
1400
|
scope?: string | null;
|
|
1401
|
+
/**
|
|
1402
|
+
* A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. "bigquery.googleapis.com/Dataset".
|
|
1403
|
+
*/
|
|
1404
|
+
sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
1385
1405
|
/**
|
|
1386
1406
|
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
1387
1407
|
*/
|
|
@@ -1437,6 +1457,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
1437
1457
|
*/
|
|
1438
1458
|
updateTime?: string | null;
|
|
1439
1459
|
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.
|
|
1462
|
+
*/
|
|
1463
|
+
export interface Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping {
|
|
1464
|
+
/**
|
|
1465
|
+
* Resource value mapping for high-sensitivity Sensitive Data Protection findings
|
|
1466
|
+
*/
|
|
1467
|
+
highSensitivityMapping?: string | null;
|
|
1468
|
+
/**
|
|
1469
|
+
* Resource value mapping for medium-sensitivity Sensitive Data Protection findings
|
|
1470
|
+
*/
|
|
1471
|
+
mediumSensitivityMapping?: string | null;
|
|
1472
|
+
}
|
|
1440
1473
|
/**
|
|
1441
1474
|
* Represents a particular IAM binding, which captures a member's role addition, removal, or state.
|
|
1442
1475
|
*/
|
|
@@ -1716,6 +1749,23 @@ export namespace securitycenter_v1beta2 {
|
|
|
1716
1749
|
*/
|
|
1717
1750
|
ns?: string | null;
|
|
1718
1751
|
}
|
|
1752
|
+
/**
|
|
1753
|
+
* The policy field that violates the deployed posture and its expected and and detected values.
|
|
1754
|
+
*/
|
|
1755
|
+
export interface Schema$PolicyDriftDetails {
|
|
1756
|
+
/**
|
|
1757
|
+
* The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892”\}`.
|
|
1758
|
+
*/
|
|
1759
|
+
detectedValue?: string | null;
|
|
1760
|
+
/**
|
|
1761
|
+
* The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892”\}`.
|
|
1762
|
+
*/
|
|
1763
|
+
expectedValue?: string | null;
|
|
1764
|
+
/**
|
|
1765
|
+
* The name of the updated field, for example constraint.implementation.policy_rules[0].enforce
|
|
1766
|
+
*/
|
|
1767
|
+
field?: string | null;
|
|
1768
|
+
}
|
|
1719
1769
|
/**
|
|
1720
1770
|
* Represents an operating system process.
|
|
1721
1771
|
*/
|
|
@@ -1914,19 +1964,31 @@ export namespace securitycenter_v1beta2 {
|
|
|
1914
1964
|
*/
|
|
1915
1965
|
export interface Schema$SecurityPosture {
|
|
1916
1966
|
/**
|
|
1917
|
-
* The name of the policy
|
|
1967
|
+
* The name of the updated policy, for example, `projects/{project_id\}/policies/{constraint_name\}`.
|
|
1918
1968
|
*/
|
|
1919
1969
|
changedPolicy?: string | null;
|
|
1920
1970
|
/**
|
|
1921
|
-
* Name of the posture, for example, `
|
|
1971
|
+
* Name of the posture, for example, `CIS-Posture`.
|
|
1922
1972
|
*/
|
|
1923
1973
|
name?: string | null;
|
|
1924
1974
|
/**
|
|
1925
|
-
* The
|
|
1975
|
+
* The ID of the updated policy, for example, `compute-policy-1`.
|
|
1976
|
+
*/
|
|
1977
|
+
policy?: string | null;
|
|
1978
|
+
/**
|
|
1979
|
+
* The details about a change in an updated policy that violates the deployed posture.
|
|
1980
|
+
*/
|
|
1981
|
+
policyDriftDetails?: Schema$PolicyDriftDetails[];
|
|
1982
|
+
/**
|
|
1983
|
+
* The name of the updated policyset, for example, `cis-policyset`.
|
|
1984
|
+
*/
|
|
1985
|
+
policySet?: string | null;
|
|
1986
|
+
/**
|
|
1987
|
+
* The name of the posture deployment, for example, `organizations/{org_id\}/posturedeployments/{posture_deployment_id\}`.
|
|
1926
1988
|
*/
|
|
1927
1989
|
postureDeployment?: string | null;
|
|
1928
1990
|
/**
|
|
1929
|
-
* The project, folder, or organization on which the posture is deployed, for example, `projects/{
|
|
1991
|
+
* The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number\}`.
|
|
1930
1992
|
*/
|
|
1931
1993
|
postureDeploymentResource?: string | null;
|
|
1932
1994
|
/**
|
|
@@ -1981,6 +2043,35 @@ export namespace securitycenter_v1beta2 {
|
|
|
1981
2043
|
*/
|
|
1982
2044
|
tier?: string | null;
|
|
1983
2045
|
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.
|
|
2048
|
+
*/
|
|
2049
|
+
export interface Schema$TicketInfo {
|
|
2050
|
+
/**
|
|
2051
|
+
* The assignee of the ticket in the ticket system.
|
|
2052
|
+
*/
|
|
2053
|
+
assignee?: string | null;
|
|
2054
|
+
/**
|
|
2055
|
+
* The description of the ticket in the ticket system.
|
|
2056
|
+
*/
|
|
2057
|
+
description?: string | null;
|
|
2058
|
+
/**
|
|
2059
|
+
* The identifier of the ticket in the ticket system.
|
|
2060
|
+
*/
|
|
2061
|
+
id?: string | null;
|
|
2062
|
+
/**
|
|
2063
|
+
* The latest status of the ticket, as reported by the ticket system.
|
|
2064
|
+
*/
|
|
2065
|
+
status?: string | null;
|
|
2066
|
+
/**
|
|
2067
|
+
* The time when the ticket was last updated, as reported by the ticket system.
|
|
2068
|
+
*/
|
|
2069
|
+
updateTime?: string | null;
|
|
2070
|
+
/**
|
|
2071
|
+
* The link to the ticket in the ticket system.
|
|
2072
|
+
*/
|
|
2073
|
+
uri?: string | null;
|
|
2074
|
+
}
|
|
1984
2075
|
/**
|
|
1985
2076
|
* Resource capturing the settings for the Virtual Machine Threat Detection service.
|
|
1986
2077
|
*/
|