@googleapis/securitycenter 17.4.0 → 17.6.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/v1beta1.ts CHANGED
@@ -255,6 +255,27 @@ export namespace securitycenter_v1beta1 {
255
255
  */
256
256
  count?: string | null;
257
257
  }
258
+ /**
259
+ * Details about a data access attempt made by an agent principal not authorized under applicable data security policy.
260
+ */
261
+ export interface Schema$AgentDataAccessEvent {
262
+ /**
263
+ * Unique identifier for data access event.
264
+ */
265
+ eventId?: string | null;
266
+ /**
267
+ * Timestamp of data access event.
268
+ */
269
+ eventTime?: string | null;
270
+ /**
271
+ * The operation performed by the principal to access the data.
272
+ */
273
+ operation?: string | null;
274
+ /**
275
+ * The agent principal that accessed the data.
276
+ */
277
+ principalSubject?: string | null;
278
+ }
258
279
  /**
259
280
  * Contains information about the AI model associated with the finding.
260
281
  */
@@ -1097,6 +1118,10 @@ export namespace securitycenter_v1beta1 {
1097
1118
  * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
1098
1119
  */
1099
1120
  maxRetentionAllowed?: string | null;
1121
+ /**
1122
+ * Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.
1123
+ */
1124
+ minRetentionAllowed?: string | null;
1100
1125
  }
1101
1126
  /**
1102
1127
  * Vertex AI dataset associated with the finding.
@@ -1137,6 +1162,31 @@ export namespace securitycenter_v1beta1 {
1137
1162
  */
1138
1163
  percentPagesMatched?: number | null;
1139
1164
  }
1165
+ /**
1166
+ * Represents discovered, customer managed workload that is not registered with the respective GCP service.
1167
+ */
1168
+ export interface Schema$DiscoveredWorkload {
1169
+ /**
1170
+ * The confidence in detection of this workload.
1171
+ */
1172
+ confidence?: string | null;
1173
+ /**
1174
+ * A boolean flag set to true if associated hardware strongly predicts the workload type.
1175
+ */
1176
+ detectedRelevantHardware?: boolean | null;
1177
+ /**
1178
+ * A boolean flag set to true if associated keywords strongly predict the workload type.
1179
+ */
1180
+ detectedRelevantKeywords?: boolean | null;
1181
+ /**
1182
+ * A boolean flag set to true if installed packages strongly predict the workload type.
1183
+ */
1184
+ detectedRelevantPackages?: boolean | null;
1185
+ /**
1186
+ * The type of workload.
1187
+ */
1188
+ workloadType?: string | null;
1189
+ }
1140
1190
  /**
1141
1191
  * Contains information about the disk associated with the finding.
1142
1192
  */
@@ -1257,6 +1307,91 @@ export namespace securitycenter_v1beta1 {
1257
1307
  */
1258
1308
  title?: string | null;
1259
1309
  }
1310
+ /**
1311
+ * Details about the externally exposed resource associated with the finding.
1312
+ */
1313
+ export interface Schema$ExternalExposure {
1314
+ /**
1315
+ * The full resource name of the load balancer backend bucket, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendBuckets/{name\}"
1316
+ */
1317
+ backendBucket?: string | null;
1318
+ /**
1319
+ * The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
1320
+ */
1321
+ backendService?: string | null;
1322
+ /**
1323
+ * The name and version of the exposed web application, for example, "Jenkins 2.184".
1324
+ */
1325
+ exposedApplication?: string | null;
1326
+ /**
1327
+ * The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/zones/{zone\}/instances/{instance\}.”
1328
+ */
1329
+ exposedEndpoint?: string | null;
1330
+ /**
1331
+ * The name and version of the service, for example, "Jupyter Notebook 6.14.0".
1332
+ */
1333
+ exposedService?: string | null;
1334
+ /**
1335
+ * The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id\}/global/forwardingRules/{forwarding-rule-name\}".
1336
+ */
1337
+ forwardingRule?: string | null;
1338
+ /**
1339
+ * Hostname of the exposed application, for example, "https://test-app.a.run.app/"
1340
+ */
1341
+ hostnameUri?: string | null;
1342
+ /**
1343
+ * The http response returned by the web application.
1344
+ */
1345
+ httpResponse?: Schema$HttpResponse[];
1346
+ /**
1347
+ * The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id\}/global/instanceGroups/{name\}".
1348
+ */
1349
+ instanceGroup?: string | null;
1350
+ /**
1351
+ * The full resource name of load balancer backend service in the internal project having resource exposed via PSC, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
1352
+ */
1353
+ internalBackendService?: string | null;
1354
+ /**
1355
+ * The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
1356
+ */
1357
+ loadBalancerFirewallPolicy?: string | null;
1358
+ /**
1359
+ * The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id\}/global/networkEndpointGroups/{name\}".
1360
+ */
1361
+ networkEndpointGroup?: string | null;
1362
+ /**
1363
+ * The full resource name of the network ingress firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{name\}".
1364
+ */
1365
+ networkIngressFirewallPolicy?: string | null;
1366
+ /**
1367
+ * Private IP address of the exposed endpoint.
1368
+ */
1369
+ privateIpAddress?: string | null;
1370
+ /**
1371
+ * Port number associated with private IP address.
1372
+ */
1373
+ privatePort?: string | null;
1374
+ /**
1375
+ * The full resource name of the PSC (Private Service Connect) network attachment that network interface controller is attached to, for example, "//compute.googleapis.com/projects/{project-id\}/regions/{region\}/networkAttachments/{name\}"
1376
+ */
1377
+ pscNetworkAttachment?: string | null;
1378
+ /**
1379
+ * The full resource name of the PSC (Private Service Connect) service attachment that the load balancer network endpoint group targets, for example, "//compute.googleapis.com/projects/{project-id\}/regions/{region\}/serviceAttachments/{name\}"
1380
+ */
1381
+ pscServiceAttachment?: string | null;
1382
+ /**
1383
+ * Public IP address of the exposed endpoint.
1384
+ */
1385
+ publicIpAddress?: string | null;
1386
+ /**
1387
+ * Public port number of the exposed endpoint.
1388
+ */
1389
+ publicPort?: string | null;
1390
+ /**
1391
+ * The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
1392
+ */
1393
+ serviceFirewallPolicy?: string | null;
1394
+ }
1260
1395
  /**
1261
1396
  * File information about the related binary/library used by an executable, or the script used by a script interpreter
1262
1397
  */
@@ -1319,6 +1454,10 @@ export namespace securitycenter_v1beta1 {
1319
1454
  * AffectedResources associated with the finding.
1320
1455
  */
1321
1456
  affectedResources?: Schema$AffectedResources;
1457
+ /**
1458
+ * Agent data access events associated with the finding.
1459
+ */
1460
+ agentDataAccessEvents?: Schema$AgentDataAccessEvent[];
1322
1461
  /**
1323
1462
  * The AI model associated with the finding.
1324
1463
  */
@@ -1407,6 +1546,10 @@ export namespace securitycenter_v1beta1 {
1407
1546
  * Contains more details about the finding.
1408
1547
  */
1409
1548
  description?: string | null;
1549
+ /**
1550
+ * DiscoveredWorkload associated with the finding.
1551
+ */
1552
+ discoveredWorkload?: Schema$DiscoveredWorkload;
1410
1553
  /**
1411
1554
  * Disk associated with the finding.
1412
1555
  */
@@ -1419,6 +1562,10 @@ export namespace securitycenter_v1beta1 {
1419
1562
  * Represents exfiltrations associated with the finding.
1420
1563
  */
1421
1564
  exfiltration?: Schema$Exfiltration;
1565
+ /**
1566
+ * External exposure associated with the finding.
1567
+ */
1568
+ externalExposure?: Schema$ExternalExposure;
1422
1569
  /**
1423
1570
  * Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
1424
1571
  */
@@ -1525,6 +1672,10 @@ export namespace securitycenter_v1beta1 {
1525
1672
  * Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
1526
1673
  */
1527
1674
  parentDisplayName?: string | null;
1675
+ /**
1676
+ * PolicyViolationSummary associated with the finding.
1677
+ */
1678
+ policyViolationSummary?: Schema$PolicyViolationSummary;
1528
1679
  /**
1529
1680
  * Represents operating system processes associated with the Finding.
1530
1681
  */
@@ -2524,6 +2675,27 @@ export namespace securitycenter_v1beta1 {
2524
2675
  */
2525
2676
  count?: string | null;
2526
2677
  }
2678
+ /**
2679
+ * Details about a data access attempt made by an agent principal not authorized under applicable data security policy.
2680
+ */
2681
+ export interface Schema$GoogleCloudSecuritycenterV2AgentDataAccessEvent {
2682
+ /**
2683
+ * Unique identifier for data access event.
2684
+ */
2685
+ eventId?: string | null;
2686
+ /**
2687
+ * Timestamp of data access event.
2688
+ */
2689
+ eventTime?: string | null;
2690
+ /**
2691
+ * The operation performed by the principal to access the data.
2692
+ */
2693
+ operation?: string | null;
2694
+ /**
2695
+ * The agent principal that accessed the data.
2696
+ */
2697
+ principalSubject?: string | null;
2698
+ }
2527
2699
  /**
2528
2700
  * Contains information about the AI model associated with the finding.
2529
2701
  */
@@ -3334,6 +3506,10 @@ export namespace securitycenter_v1beta1 {
3334
3506
  * Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
3335
3507
  */
3336
3508
  maxRetentionAllowed?: string | null;
3509
+ /**
3510
+ * Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.
3511
+ */
3512
+ minRetentionAllowed?: string | null;
3337
3513
  }
3338
3514
  /**
3339
3515
  * Vertex AI dataset associated with the finding.
@@ -3374,6 +3550,31 @@ export namespace securitycenter_v1beta1 {
3374
3550
  */
3375
3551
  percentPagesMatched?: number | null;
3376
3552
  }
3553
+ /**
3554
+ * Represents discovered, customer managed workload that is not registered with the respective GCP service.
3555
+ */
3556
+ export interface Schema$GoogleCloudSecuritycenterV2DiscoveredWorkload {
3557
+ /**
3558
+ * The confidence in detection of this workload.
3559
+ */
3560
+ confidence?: string | null;
3561
+ /**
3562
+ * A boolean flag set to true if associated hardware strongly predicts the workload type.
3563
+ */
3564
+ detectedRelevantHardware?: boolean | null;
3565
+ /**
3566
+ * A boolean flag set to true if associated keywords strongly predict the workload type.
3567
+ */
3568
+ detectedRelevantKeywords?: boolean | null;
3569
+ /**
3570
+ * A boolean flag set to true if installed packages strongly predict the workload type.
3571
+ */
3572
+ detectedRelevantPackages?: boolean | null;
3573
+ /**
3574
+ * The type of workload.
3575
+ */
3576
+ workloadType?: string | null;
3577
+ }
3377
3578
  /**
3378
3579
  * Contains information about the disk associated with the finding.
3379
3580
  */
@@ -3452,6 +3653,91 @@ export namespace securitycenter_v1beta1 {
3452
3653
  */
3453
3654
  totalExfiltratedBytes?: string | null;
3454
3655
  }
3656
+ /**
3657
+ * Details about the externally exposed resource associated with the finding.
3658
+ */
3659
+ export interface Schema$GoogleCloudSecuritycenterV2ExternalExposure {
3660
+ /**
3661
+ * The full resource name of the load balancer backend bucket, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendBuckets/{name\}"
3662
+ */
3663
+ backendBucket?: string | null;
3664
+ /**
3665
+ * The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
3666
+ */
3667
+ backendService?: string | null;
3668
+ /**
3669
+ * The name and version of the exposed web application, for example, "Jenkins 2.184".
3670
+ */
3671
+ exposedApplication?: string | null;
3672
+ /**
3673
+ * The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/zones/{zone\}/instances/{instance\}.”
3674
+ */
3675
+ exposedEndpoint?: string | null;
3676
+ /**
3677
+ * The name and version of the service, for example, "Jupyter Notebook 6.14.0".
3678
+ */
3679
+ exposedService?: string | null;
3680
+ /**
3681
+ * The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id\}/global/forwardingRules/{forwarding-rule-name\}".
3682
+ */
3683
+ forwardingRule?: string | null;
3684
+ /**
3685
+ * Hostname of the exposed application, for example, "https://test-app.a.run.app/"
3686
+ */
3687
+ hostnameUri?: string | null;
3688
+ /**
3689
+ * The http response returned by the web application.
3690
+ */
3691
+ httpResponse?: Schema$GoogleCloudSecuritycenterV2HttpResponse[];
3692
+ /**
3693
+ * The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id\}/global/instanceGroups/{name\}".
3694
+ */
3695
+ instanceGroup?: string | null;
3696
+ /**
3697
+ * The full resource name of load balancer backend service in the internal project having resource exposed via PSC, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
3698
+ */
3699
+ internalBackendService?: string | null;
3700
+ /**
3701
+ * The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
3702
+ */
3703
+ loadBalancerFirewallPolicy?: string | null;
3704
+ /**
3705
+ * The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id\}/global/networkEndpointGroups/{name\}".
3706
+ */
3707
+ networkEndpointGroup?: string | null;
3708
+ /**
3709
+ * The full resource name of the network ingress firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{name\}".
3710
+ */
3711
+ networkIngressFirewallPolicy?: string | null;
3712
+ /**
3713
+ * Private IP address of the exposed endpoint.
3714
+ */
3715
+ privateIpAddress?: string | null;
3716
+ /**
3717
+ * Port number associated with private IP address.
3718
+ */
3719
+ privatePort?: string | null;
3720
+ /**
3721
+ * The full resource name of the PSC (Private Service Connect) network attachment that network interface controller is attached to, for example, "//compute.googleapis.com/projects/{project-id\}/regions/{region\}/networkAttachments/{name\}"
3722
+ */
3723
+ pscNetworkAttachment?: string | null;
3724
+ /**
3725
+ * The full resource name of the PSC (Private Service Connect) service attachment that the load balancer network endpoint group targets, for example, "//compute.googleapis.com/projects/{project-id\}/regions/{region\}/serviceAttachments/{name\}"
3726
+ */
3727
+ pscServiceAttachment?: string | null;
3728
+ /**
3729
+ * Public IP address of the exposed endpoint.
3730
+ */
3731
+ publicIpAddress?: string | null;
3732
+ /**
3733
+ * Public port number of the exposed endpoint.
3734
+ */
3735
+ publicPort?: string | null;
3736
+ /**
3737
+ * The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
3738
+ */
3739
+ serviceFirewallPolicy?: string | null;
3740
+ }
3455
3741
  /**
3456
3742
  * Representation of third party SIEM/SOAR fields within SCC.
3457
3743
  */
@@ -3563,6 +3849,10 @@ export namespace securitycenter_v1beta1 {
3563
3849
  * AffectedResources associated with the finding.
3564
3850
  */
3565
3851
  affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
3852
+ /**
3853
+ * Agent data access events associated with the finding.
3854
+ */
3855
+ agentDataAccessEvents?: Schema$GoogleCloudSecuritycenterV2AgentDataAccessEvent[];
3566
3856
  /**
3567
3857
  * The AI model associated with the finding.
3568
3858
  */
@@ -3657,6 +3947,10 @@ export namespace securitycenter_v1beta1 {
3657
3947
  * Contains more details about the finding.
3658
3948
  */
3659
3949
  description?: string | null;
3950
+ /**
3951
+ * DiscoveredWorkload associated with the finding.
3952
+ */
3953
+ discoveredWorkload?: Schema$GoogleCloudSecuritycenterV2DiscoveredWorkload;
3660
3954
  /**
3661
3955
  * Disk associated with the finding.
3662
3956
  */
@@ -3669,6 +3963,10 @@ export namespace securitycenter_v1beta1 {
3669
3963
  * Represents exfiltrations associated with the finding.
3670
3964
  */
3671
3965
  exfiltration?: Schema$GoogleCloudSecuritycenterV2Exfiltration;
3966
+ /**
3967
+ * External exposure associated with the finding.
3968
+ */
3969
+ externalExposure?: Schema$GoogleCloudSecuritycenterV2ExternalExposure;
3672
3970
  /**
3673
3971
  * Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
3674
3972
  */
@@ -3775,6 +4073,10 @@ export namespace securitycenter_v1beta1 {
3775
4073
  * Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
3776
4074
  */
3777
4075
  parentDisplayName?: string | null;
4076
+ /**
4077
+ * PolicyViolationSummary associated with the finding.
4078
+ */
4079
+ policyViolationSummary?: Schema$GoogleCloudSecuritycenterV2PolicyViolationSummary;
3778
4080
  /**
3779
4081
  * Represents operating system processes associated with the Finding.
3780
4082
  */
@@ -3880,6 +4182,19 @@ export namespace securitycenter_v1beta1 {
3880
4182
  */
3881
4183
  groupType?: string | null;
3882
4184
  }
4185
+ /**
4186
+ * The http response returned by the web application.
4187
+ */
4188
+ export interface Schema$GoogleCloudSecuritycenterV2HttpResponse {
4189
+ /**
4190
+ * The http path for which response code was returned by web application, for example, "https://test-app.a.run.app/test".
4191
+ */
4192
+ path?: string | null;
4193
+ /**
4194
+ * The http response code returned by the web application, for example, 200.
4195
+ */
4196
+ statusCode?: string | null;
4197
+ }
3883
4198
  /**
3884
4199
  * Represents a particular IAM binding, which captures a member's role addition, removal, or state.
3885
4200
  */
@@ -4745,6 +5060,27 @@ export namespace securitycenter_v1beta1 {
4745
5060
  */
4746
5061
  field?: string | null;
4747
5062
  }
5063
+ /**
5064
+ * Metadata summarizing policy violations of child resources of the affected resource. `finding_category` and `resource` determine the exact semantics of the counts. For example, when category=DATA_SECURITY_POSTURE_OBJECT_PUBLIC_ACCESS_VIOLATION and resource='storage.googleapis.com/buckets/my-bucket-name' then this counts the number of Cloud Storage objects in my-bucket-name which violate a Public Access control.
5065
+ */
5066
+ export interface Schema$GoogleCloudSecuritycenterV2PolicyViolationSummary {
5067
+ /**
5068
+ * Total number of child resources that conform to the policy.
5069
+ */
5070
+ conformantResourcesCount?: string | null;
5071
+ /**
5072
+ * Number of child resources for which errors during evaluation occurred. The evaluation result for these child resources is effectively "unknown".
5073
+ */
5074
+ evaluationErrorsCount?: string | null;
5075
+ /**
5076
+ * Total count of child resources which were not in scope for evaluation.
5077
+ */
5078
+ outOfScopeResourcesCount?: string | null;
5079
+ /**
5080
+ * Count of child resources in violation of the policy.
5081
+ */
5082
+ policyViolationsCount?: string | null;
5083
+ }
4748
5084
  /**
4749
5085
  * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
4750
5086
  */
@@ -5496,6 +5832,19 @@ export namespace securitycenter_v1beta1 {
5496
5832
  */
5497
5833
  properties?: {[key: string]: any} | null;
5498
5834
  }
5835
+ /**
5836
+ * The http response returned by the web application.
5837
+ */
5838
+ export interface Schema$HttpResponse {
5839
+ /**
5840
+ * The http path for which response code was returned by web application, for example, "https://test-app.a.run.app/test".
5841
+ */
5842
+ path?: string | null;
5843
+ /**
5844
+ * The http response code returned by the web application, for example, 200.
5845
+ */
5846
+ statusCode?: string | null;
5847
+ }
5499
5848
  /**
5500
5849
  * Represents a particular IAM binding, which captures a member's role addition, removal, or state.
5501
5850
  */
@@ -6076,6 +6425,27 @@ export namespace securitycenter_v1beta1 {
6076
6425
  */
6077
6426
  field?: string | null;
6078
6427
  }
6428
+ /**
6429
+ * Metadata summarizing policy violations of child resources of the affected resource. `finding_category` and `resource` determine the exact semantics of the counts. For example, when category=DATA_SECURITY_POSTURE_OBJECT_PUBLIC_ACCESS_VIOLATION and resource='storage.googleapis.com/buckets/my-bucket-name' then this counts the number of Cloud Storage objects in my-bucket-name which violate a Public Access control.
6430
+ */
6431
+ export interface Schema$PolicyViolationSummary {
6432
+ /**
6433
+ * Total number of child resources that conform to the policy.
6434
+ */
6435
+ conformantResourcesCount?: string | null;
6436
+ /**
6437
+ * Number of child resources for which errors during evaluation occurred. The evaluation result for these child resources is effectively "unknown".
6438
+ */
6439
+ evaluationErrorsCount?: string | null;
6440
+ /**
6441
+ * Total count of child resources which were not in scope for evaluation.
6442
+ */
6443
+ outOfScopeResourcesCount?: string | null;
6444
+ /**
6445
+ * Count of child resources in violation of the policy.
6446
+ */
6447
+ policyViolationsCount?: string | null;
6448
+ }
6079
6449
  /**
6080
6450
  * A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.
6081
6451
  */