@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20241205 → 0.0.20250103

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.
Files changed (2) hide show
  1. package/index.d.ts +37 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20241205
12
+ // Revision: 20250103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -81,10 +81,14 @@ declare namespace gapi.client {
81
81
  interface Attack {
82
82
  /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
83
83
  classification?: string;
84
- /** Total BPS (bytes per second) volume of attack. */
84
+ /** Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead. */
85
85
  volumeBps?: number;
86
- /** Total PPS (packets per second) volume of attack. */
86
+ /** Total BPS (bytes per second) volume of attack. */
87
+ volumeBpsLong?: string;
88
+ /** Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead. */
87
89
  volumePps?: number;
90
+ /** Total PPS (packets per second) volume of attack. */
91
+ volumePpsLong?: string;
88
92
  }
89
93
  interface AttackExposure {
90
94
  /** 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` */
@@ -376,6 +380,16 @@ declare namespace gapi.client {
376
380
  /** Non-compliant location of the principal or the data destination. */
377
381
  violatedLocation?: string;
378
382
  }
383
+ interface DataRetentionDeletionEvent {
384
+ /** Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000. */
385
+ dataObjectCount?: string;
386
+ /** Timestamp indicating when the event was detected. */
387
+ eventDetectionTime?: string;
388
+ /** Type of the DRD event. */
389
+ eventType?: string;
390
+ /** 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 set 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. */
391
+ maxRetentionAllowed?: string;
392
+ }
379
393
  interface Details {
380
394
  /** The time the subscription has or will end. */
381
395
  endTime?: string;
@@ -497,6 +511,8 @@ declare namespace gapi.client {
497
511
  database?: Database;
498
512
  /** Data flow events associated with the finding. */
499
513
  dataFlowEvents?: DataFlowEvent[];
514
+ /** Data retention deletion events associated with the finding. */
515
+ dataRetentionDeletionEvents?: DataRetentionDeletionEvent[];
500
516
  /** Contains more details about the finding. */
501
517
  description?: string;
502
518
  /** Disk associated with the finding. */
@@ -932,10 +948,14 @@ declare namespace gapi.client {
932
948
  interface GoogleCloudSecuritycenterV2Attack {
933
949
  /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
934
950
  classification?: string;
935
- /** Total BPS (bytes per second) volume of attack. */
951
+ /** Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead. */
936
952
  volumeBps?: number;
937
- /** Total PPS (packets per second) volume of attack. */
953
+ /** Total BPS (bytes per second) volume of attack. */
954
+ volumeBpsLong?: string;
955
+ /** Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead. */
938
956
  volumePps?: number;
957
+ /** Total PPS (packets per second) volume of attack. */
958
+ volumePpsLong?: string;
939
959
  }
940
960
  interface GoogleCloudSecuritycenterV2AttackExposure {
941
961
  /** 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` */
@@ -1220,6 +1240,16 @@ declare namespace gapi.client {
1220
1240
  /** Non-compliant location of the principal or the data destination. */
1221
1241
  violatedLocation?: string;
1222
1242
  }
1243
+ interface GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
1244
+ /** Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000. */
1245
+ dataObjectCount?: string;
1246
+ /** Timestamp indicating when the event was detected. */
1247
+ eventDetectionTime?: string;
1248
+ /** Type of the DRD event. */
1249
+ eventType?: string;
1250
+ /** 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 set 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. */
1251
+ maxRetentionAllowed?: string;
1252
+ }
1223
1253
  interface GoogleCloudSecuritycenterV2Detection {
1224
1254
  /** The name of the binary associated with the memory hash signature detection. */
1225
1255
  binary?: string;
@@ -1337,6 +1367,8 @@ declare namespace gapi.client {
1337
1367
  database?: GoogleCloudSecuritycenterV2Database;
1338
1368
  /** Data flow events associated with the finding. */
1339
1369
  dataFlowEvents?: GoogleCloudSecuritycenterV2DataFlowEvent[];
1370
+ /** Data retention deletion events associated with the finding. */
1371
+ dataRetentionDeletionEvents?: GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
1340
1372
  /** Contains more details about the finding. */
1341
1373
  description?: string;
1342
1374
  /** Disk associated with the finding. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20241205",
3
+ "version": "0.0.20250103",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",