@googleapis/securitycenter 17.5.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/v1beta2.ts CHANGED
@@ -259,6 +259,27 @@ export namespace securitycenter_v1beta2 {
259
259
  */
260
260
  count?: string | null;
261
261
  }
262
+ /**
263
+ * Details about a data access attempt made by an agent principal not authorized under applicable data security policy.
264
+ */
265
+ export interface Schema$AgentDataAccessEvent {
266
+ /**
267
+ * Unique identifier for data access event.
268
+ */
269
+ eventId?: string | null;
270
+ /**
271
+ * Timestamp of data access event.
272
+ */
273
+ eventTime?: string | null;
274
+ /**
275
+ * The operation performed by the principal to access the data.
276
+ */
277
+ operation?: string | null;
278
+ /**
279
+ * The agent principal that accessed the data.
280
+ */
281
+ principalSubject?: string | null;
282
+ }
262
283
  /**
263
284
  * Contains information about the AI model associated with the finding.
264
285
  */
@@ -1050,6 +1071,10 @@ export namespace securitycenter_v1beta2 {
1050
1071
  * 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.
1051
1072
  */
1052
1073
  maxRetentionAllowed?: string | null;
1074
+ /**
1075
+ * 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.
1076
+ */
1077
+ minRetentionAllowed?: string | null;
1053
1078
  }
1054
1079
  /**
1055
1080
  * Vertex AI dataset associated with the finding.
@@ -1107,6 +1132,31 @@ export namespace securitycenter_v1beta2 {
1107
1132
  */
1108
1133
  percentPagesMatched?: number | null;
1109
1134
  }
1135
+ /**
1136
+ * Represents discovered, customer managed workload that is not registered with the respective GCP service.
1137
+ */
1138
+ export interface Schema$DiscoveredWorkload {
1139
+ /**
1140
+ * The confidence in detection of this workload.
1141
+ */
1142
+ confidence?: string | null;
1143
+ /**
1144
+ * A boolean flag set to true if associated hardware strongly predicts the workload type.
1145
+ */
1146
+ detectedRelevantHardware?: boolean | null;
1147
+ /**
1148
+ * A boolean flag set to true if associated keywords strongly predict the workload type.
1149
+ */
1150
+ detectedRelevantKeywords?: boolean | null;
1151
+ /**
1152
+ * A boolean flag set to true if installed packages strongly predict the workload type.
1153
+ */
1154
+ detectedRelevantPackages?: boolean | null;
1155
+ /**
1156
+ * The type of workload.
1157
+ */
1158
+ workloadType?: string | null;
1159
+ }
1110
1160
  /**
1111
1161
  * Contains information about the disk associated with the finding.
1112
1162
  */
@@ -1244,6 +1294,91 @@ export namespace securitycenter_v1beta2 {
1244
1294
  */
1245
1295
  title?: string | null;
1246
1296
  }
1297
+ /**
1298
+ * Details about the externally exposed resource associated with the finding.
1299
+ */
1300
+ export interface Schema$ExternalExposure {
1301
+ /**
1302
+ * The full resource name of the load balancer backend bucket, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendBuckets/{name\}"
1303
+ */
1304
+ backendBucket?: string | null;
1305
+ /**
1306
+ * The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
1307
+ */
1308
+ backendService?: string | null;
1309
+ /**
1310
+ * The name and version of the exposed web application, for example, "Jenkins 2.184".
1311
+ */
1312
+ exposedApplication?: string | null;
1313
+ /**
1314
+ * The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/zones/{zone\}/instances/{instance\}.”
1315
+ */
1316
+ exposedEndpoint?: string | null;
1317
+ /**
1318
+ * The name and version of the service, for example, "Jupyter Notebook 6.14.0".
1319
+ */
1320
+ exposedService?: string | null;
1321
+ /**
1322
+ * The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id\}/global/forwardingRules/{forwarding-rule-name\}".
1323
+ */
1324
+ forwardingRule?: string | null;
1325
+ /**
1326
+ * Hostname of the exposed application, for example, "https://test-app.a.run.app/"
1327
+ */
1328
+ hostnameUri?: string | null;
1329
+ /**
1330
+ * The http response returned by the web application.
1331
+ */
1332
+ httpResponse?: Schema$HttpResponse[];
1333
+ /**
1334
+ * The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id\}/global/instanceGroups/{name\}".
1335
+ */
1336
+ instanceGroup?: string | null;
1337
+ /**
1338
+ * 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\}".
1339
+ */
1340
+ internalBackendService?: string | null;
1341
+ /**
1342
+ * The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
1343
+ */
1344
+ loadBalancerFirewallPolicy?: string | null;
1345
+ /**
1346
+ * The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id\}/global/networkEndpointGroups/{name\}".
1347
+ */
1348
+ networkEndpointGroup?: string | null;
1349
+ /**
1350
+ * The full resource name of the network ingress firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{name\}".
1351
+ */
1352
+ networkIngressFirewallPolicy?: string | null;
1353
+ /**
1354
+ * Private IP address of the exposed endpoint.
1355
+ */
1356
+ privateIpAddress?: string | null;
1357
+ /**
1358
+ * Port number associated with private IP address.
1359
+ */
1360
+ privatePort?: string | null;
1361
+ /**
1362
+ * 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\}"
1363
+ */
1364
+ pscNetworkAttachment?: string | null;
1365
+ /**
1366
+ * 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\}"
1367
+ */
1368
+ pscServiceAttachment?: string | null;
1369
+ /**
1370
+ * Public IP address of the exposed endpoint.
1371
+ */
1372
+ publicIpAddress?: string | null;
1373
+ /**
1374
+ * Public port number of the exposed endpoint.
1375
+ */
1376
+ publicPort?: string | null;
1377
+ /**
1378
+ * The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
1379
+ */
1380
+ serviceFirewallPolicy?: string | null;
1381
+ }
1247
1382
  /**
1248
1383
  * File information about the related binary/library used by an executable, or the script used by a script interpreter
1249
1384
  */
@@ -1306,6 +1441,10 @@ export namespace securitycenter_v1beta2 {
1306
1441
  * AffectedResources associated with the finding.
1307
1442
  */
1308
1443
  affectedResources?: Schema$AffectedResources;
1444
+ /**
1445
+ * Agent data access events associated with the finding.
1446
+ */
1447
+ agentDataAccessEvents?: Schema$AgentDataAccessEvent[];
1309
1448
  /**
1310
1449
  * The AI model associated with the finding.
1311
1450
  */
@@ -1394,6 +1533,10 @@ export namespace securitycenter_v1beta2 {
1394
1533
  * Contains more details about the finding.
1395
1534
  */
1396
1535
  description?: string | null;
1536
+ /**
1537
+ * DiscoveredWorkload associated with the finding.
1538
+ */
1539
+ discoveredWorkload?: Schema$DiscoveredWorkload;
1397
1540
  /**
1398
1541
  * Disk associated with the finding.
1399
1542
  */
@@ -1406,6 +1549,10 @@ export namespace securitycenter_v1beta2 {
1406
1549
  * Represents exfiltrations associated with the finding.
1407
1550
  */
1408
1551
  exfiltration?: Schema$Exfiltration;
1552
+ /**
1553
+ * External exposure associated with the finding.
1554
+ */
1555
+ externalExposure?: Schema$ExternalExposure;
1409
1556
  /**
1410
1557
  * Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
1411
1558
  */
@@ -1512,6 +1659,10 @@ export namespace securitycenter_v1beta2 {
1512
1659
  * Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
1513
1660
  */
1514
1661
  parentDisplayName?: string | null;
1662
+ /**
1663
+ * PolicyViolationSummary associated with the finding.
1664
+ */
1665
+ policyViolationSummary?: Schema$PolicyViolationSummary;
1515
1666
  /**
1516
1667
  * Represents operating system processes associated with the Finding.
1517
1668
  */
@@ -2435,6 +2586,27 @@ export namespace securitycenter_v1beta2 {
2435
2586
  */
2436
2587
  count?: string | null;
2437
2588
  }
2589
+ /**
2590
+ * Details about a data access attempt made by an agent principal not authorized under applicable data security policy.
2591
+ */
2592
+ export interface Schema$GoogleCloudSecuritycenterV2AgentDataAccessEvent {
2593
+ /**
2594
+ * Unique identifier for data access event.
2595
+ */
2596
+ eventId?: string | null;
2597
+ /**
2598
+ * Timestamp of data access event.
2599
+ */
2600
+ eventTime?: string | null;
2601
+ /**
2602
+ * The operation performed by the principal to access the data.
2603
+ */
2604
+ operation?: string | null;
2605
+ /**
2606
+ * The agent principal that accessed the data.
2607
+ */
2608
+ principalSubject?: string | null;
2609
+ }
2438
2610
  /**
2439
2611
  * Contains information about the AI model associated with the finding.
2440
2612
  */
@@ -3245,6 +3417,10 @@ export namespace securitycenter_v1beta2 {
3245
3417
  * 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.
3246
3418
  */
3247
3419
  maxRetentionAllowed?: string | null;
3420
+ /**
3421
+ * 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.
3422
+ */
3423
+ minRetentionAllowed?: string | null;
3248
3424
  }
3249
3425
  /**
3250
3426
  * Vertex AI dataset associated with the finding.
@@ -3285,6 +3461,31 @@ export namespace securitycenter_v1beta2 {
3285
3461
  */
3286
3462
  percentPagesMatched?: number | null;
3287
3463
  }
3464
+ /**
3465
+ * Represents discovered, customer managed workload that is not registered with the respective GCP service.
3466
+ */
3467
+ export interface Schema$GoogleCloudSecuritycenterV2DiscoveredWorkload {
3468
+ /**
3469
+ * The confidence in detection of this workload.
3470
+ */
3471
+ confidence?: string | null;
3472
+ /**
3473
+ * A boolean flag set to true if associated hardware strongly predicts the workload type.
3474
+ */
3475
+ detectedRelevantHardware?: boolean | null;
3476
+ /**
3477
+ * A boolean flag set to true if associated keywords strongly predict the workload type.
3478
+ */
3479
+ detectedRelevantKeywords?: boolean | null;
3480
+ /**
3481
+ * A boolean flag set to true if installed packages strongly predict the workload type.
3482
+ */
3483
+ detectedRelevantPackages?: boolean | null;
3484
+ /**
3485
+ * The type of workload.
3486
+ */
3487
+ workloadType?: string | null;
3488
+ }
3288
3489
  /**
3289
3490
  * Contains information about the disk associated with the finding.
3290
3491
  */
@@ -3363,6 +3564,91 @@ export namespace securitycenter_v1beta2 {
3363
3564
  */
3364
3565
  totalExfiltratedBytes?: string | null;
3365
3566
  }
3567
+ /**
3568
+ * Details about the externally exposed resource associated with the finding.
3569
+ */
3570
+ export interface Schema$GoogleCloudSecuritycenterV2ExternalExposure {
3571
+ /**
3572
+ * The full resource name of the load balancer backend bucket, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendBuckets/{name\}"
3573
+ */
3574
+ backendBucket?: string | null;
3575
+ /**
3576
+ * The full resource name of load balancer backend service, for example, "//compute.googleapis.com/projects/{project-id\}/global/backendServices/{name\}".
3577
+ */
3578
+ backendService?: string | null;
3579
+ /**
3580
+ * The name and version of the exposed web application, for example, "Jenkins 2.184".
3581
+ */
3582
+ exposedApplication?: string | null;
3583
+ /**
3584
+ * The resource which is running the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/zones/{zone\}/instances/{instance\}.”
3585
+ */
3586
+ exposedEndpoint?: string | null;
3587
+ /**
3588
+ * The name and version of the service, for example, "Jupyter Notebook 6.14.0".
3589
+ */
3590
+ exposedService?: string | null;
3591
+ /**
3592
+ * The full resource name of the forwarding rule, for example, "//compute.googleapis.com/projects/{project-id\}/global/forwardingRules/{forwarding-rule-name\}".
3593
+ */
3594
+ forwardingRule?: string | null;
3595
+ /**
3596
+ * Hostname of the exposed application, for example, "https://test-app.a.run.app/"
3597
+ */
3598
+ hostnameUri?: string | null;
3599
+ /**
3600
+ * The http response returned by the web application.
3601
+ */
3602
+ httpResponse?: Schema$GoogleCloudSecuritycenterV2HttpResponse[];
3603
+ /**
3604
+ * The full resource name of the instance group, for example, "//compute.googleapis.com/projects/{project-id\}/global/instanceGroups/{name\}".
3605
+ */
3606
+ instanceGroup?: string | null;
3607
+ /**
3608
+ * 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\}".
3609
+ */
3610
+ internalBackendService?: string | null;
3611
+ /**
3612
+ * The full resource name of the load balancer firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
3613
+ */
3614
+ loadBalancerFirewallPolicy?: string | null;
3615
+ /**
3616
+ * The full resource name of the network endpoint group, for example, "//compute.googleapis.com/projects/{project-id\}/global/networkEndpointGroups/{name\}".
3617
+ */
3618
+ networkEndpointGroup?: string | null;
3619
+ /**
3620
+ * The full resource name of the network ingress firewall policy, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{name\}".
3621
+ */
3622
+ networkIngressFirewallPolicy?: string | null;
3623
+ /**
3624
+ * Private IP address of the exposed endpoint.
3625
+ */
3626
+ privateIpAddress?: string | null;
3627
+ /**
3628
+ * Port number associated with private IP address.
3629
+ */
3630
+ privatePort?: string | null;
3631
+ /**
3632
+ * 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\}"
3633
+ */
3634
+ pscNetworkAttachment?: string | null;
3635
+ /**
3636
+ * 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\}"
3637
+ */
3638
+ pscServiceAttachment?: string | null;
3639
+ /**
3640
+ * Public IP address of the exposed endpoint.
3641
+ */
3642
+ publicIpAddress?: string | null;
3643
+ /**
3644
+ * Public port number of the exposed endpoint.
3645
+ */
3646
+ publicPort?: string | null;
3647
+ /**
3648
+ * The full resource name of the firewall policy of the exposed service, for example, "//compute.googleapis.com/projects/{project-id\}/global/firewallPolicies/{policy-name\}".
3649
+ */
3650
+ serviceFirewallPolicy?: string | null;
3651
+ }
3366
3652
  /**
3367
3653
  * Representation of third party SIEM/SOAR fields within SCC.
3368
3654
  */
@@ -3474,6 +3760,10 @@ export namespace securitycenter_v1beta2 {
3474
3760
  * AffectedResources associated with the finding.
3475
3761
  */
3476
3762
  affectedResources?: Schema$GoogleCloudSecuritycenterV2AffectedResources;
3763
+ /**
3764
+ * Agent data access events associated with the finding.
3765
+ */
3766
+ agentDataAccessEvents?: Schema$GoogleCloudSecuritycenterV2AgentDataAccessEvent[];
3477
3767
  /**
3478
3768
  * The AI model associated with the finding.
3479
3769
  */
@@ -3568,6 +3858,10 @@ export namespace securitycenter_v1beta2 {
3568
3858
  * Contains more details about the finding.
3569
3859
  */
3570
3860
  description?: string | null;
3861
+ /**
3862
+ * DiscoveredWorkload associated with the finding.
3863
+ */
3864
+ discoveredWorkload?: Schema$GoogleCloudSecuritycenterV2DiscoveredWorkload;
3571
3865
  /**
3572
3866
  * Disk associated with the finding.
3573
3867
  */
@@ -3580,6 +3874,10 @@ export namespace securitycenter_v1beta2 {
3580
3874
  * Represents exfiltrations associated with the finding.
3581
3875
  */
3582
3876
  exfiltration?: Schema$GoogleCloudSecuritycenterV2Exfiltration;
3877
+ /**
3878
+ * External exposure associated with the finding.
3879
+ */
3880
+ externalExposure?: Schema$GoogleCloudSecuritycenterV2ExternalExposure;
3583
3881
  /**
3584
3882
  * Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.
3585
3883
  */
@@ -3686,6 +3984,10 @@ export namespace securitycenter_v1beta2 {
3686
3984
  * Output only. The human readable display name of the finding source such as "Event Threat Detection" or "Security Health Analytics".
3687
3985
  */
3688
3986
  parentDisplayName?: string | null;
3987
+ /**
3988
+ * PolicyViolationSummary associated with the finding.
3989
+ */
3990
+ policyViolationSummary?: Schema$GoogleCloudSecuritycenterV2PolicyViolationSummary;
3689
3991
  /**
3690
3992
  * Represents operating system processes associated with the Finding.
3691
3993
  */
@@ -3791,6 +4093,19 @@ export namespace securitycenter_v1beta2 {
3791
4093
  */
3792
4094
  groupType?: string | null;
3793
4095
  }
4096
+ /**
4097
+ * The http response returned by the web application.
4098
+ */
4099
+ export interface Schema$GoogleCloudSecuritycenterV2HttpResponse {
4100
+ /**
4101
+ * The http path for which response code was returned by web application, for example, "https://test-app.a.run.app/test".
4102
+ */
4103
+ path?: string | null;
4104
+ /**
4105
+ * The http response code returned by the web application, for example, 200.
4106
+ */
4107
+ statusCode?: string | null;
4108
+ }
3794
4109
  /**
3795
4110
  * Represents a particular IAM binding, which captures a member's role addition, removal, or state.
3796
4111
  */
@@ -4656,6 +4971,27 @@ export namespace securitycenter_v1beta2 {
4656
4971
  */
4657
4972
  field?: string | null;
4658
4973
  }
4974
+ /**
4975
+ * 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.
4976
+ */
4977
+ export interface Schema$GoogleCloudSecuritycenterV2PolicyViolationSummary {
4978
+ /**
4979
+ * Total number of child resources that conform to the policy.
4980
+ */
4981
+ conformantResourcesCount?: string | null;
4982
+ /**
4983
+ * Number of child resources for which errors during evaluation occurred. The evaluation result for these child resources is effectively "unknown".
4984
+ */
4985
+ evaluationErrorsCount?: string | null;
4986
+ /**
4987
+ * Total count of child resources which were not in scope for evaluation.
4988
+ */
4989
+ outOfScopeResourcesCount?: string | null;
4990
+ /**
4991
+ * Count of child resources in violation of the policy.
4992
+ */
4993
+ policyViolationsCount?: string | null;
4994
+ }
4659
4995
  /**
4660
4996
  * 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.
4661
4997
  */
@@ -5306,6 +5642,19 @@ export namespace securitycenter_v1beta2 {
5306
5642
  */
5307
5643
  groupType?: string | null;
5308
5644
  }
5645
+ /**
5646
+ * The http response returned by the web application.
5647
+ */
5648
+ export interface Schema$HttpResponse {
5649
+ /**
5650
+ * The http path for which response code was returned by web application, for example, "https://test-app.a.run.app/test".
5651
+ */
5652
+ path?: string | null;
5653
+ /**
5654
+ * The http response code returned by the web application, for example, 200.
5655
+ */
5656
+ statusCode?: string | null;
5657
+ }
5309
5658
  /**
5310
5659
  * Represents a particular IAM binding, which captures a member's role addition, removal, or state.
5311
5660
  */
@@ -5738,6 +6087,27 @@ export namespace securitycenter_v1beta2 {
5738
6087
  */
5739
6088
  field?: string | null;
5740
6089
  }
6090
+ /**
6091
+ * 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.
6092
+ */
6093
+ export interface Schema$PolicyViolationSummary {
6094
+ /**
6095
+ * Total number of child resources that conform to the policy.
6096
+ */
6097
+ conformantResourcesCount?: string | null;
6098
+ /**
6099
+ * Number of child resources for which errors during evaluation occurred. The evaluation result for these child resources is effectively "unknown".
6100
+ */
6101
+ evaluationErrorsCount?: string | null;
6102
+ /**
6103
+ * Total count of child resources which were not in scope for evaluation.
6104
+ */
6105
+ outOfScopeResourcesCount?: string | null;
6106
+ /**
6107
+ * Count of child resources in violation of the policy.
6108
+ */
6109
+ policyViolationsCount?: string | null;
6110
+ }
5741
6111
  /**
5742
6112
  * 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.
5743
6113
  */