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

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 +25 -1
  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: 20241206
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -376,6 +376,16 @@ declare namespace gapi.client {
376
376
  /** Non-compliant location of the principal or the data destination. */
377
377
  violatedLocation?: string;
378
378
  }
379
+ interface DataRetentionDeletionEvent {
380
+ /** 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. */
381
+ dataObjectCount?: string;
382
+ /** Timestamp indicating when the event was detected. */
383
+ eventDetectionTime?: string;
384
+ /** Type of the DRD event. */
385
+ eventType?: string;
386
+ /** 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. */
387
+ maxRetentionAllowed?: string;
388
+ }
379
389
  interface Details {
380
390
  /** The time the subscription has or will end. */
381
391
  endTime?: string;
@@ -497,6 +507,8 @@ declare namespace gapi.client {
497
507
  database?: Database;
498
508
  /** Data flow events associated with the finding. */
499
509
  dataFlowEvents?: DataFlowEvent[];
510
+ /** Data retention deletion events associated with the finding. */
511
+ dataRetentionDeletionEvents?: DataRetentionDeletionEvent[];
500
512
  /** Contains more details about the finding. */
501
513
  description?: string;
502
514
  /** Disk associated with the finding. */
@@ -1220,6 +1232,16 @@ declare namespace gapi.client {
1220
1232
  /** Non-compliant location of the principal or the data destination. */
1221
1233
  violatedLocation?: string;
1222
1234
  }
1235
+ interface GoogleCloudSecuritycenterV2DataRetentionDeletionEvent {
1236
+ /** 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. */
1237
+ dataObjectCount?: string;
1238
+ /** Timestamp indicating when the event was detected. */
1239
+ eventDetectionTime?: string;
1240
+ /** Type of the DRD event. */
1241
+ eventType?: string;
1242
+ /** 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. */
1243
+ maxRetentionAllowed?: string;
1244
+ }
1223
1245
  interface GoogleCloudSecuritycenterV2Detection {
1224
1246
  /** The name of the binary associated with the memory hash signature detection. */
1225
1247
  binary?: string;
@@ -1337,6 +1359,8 @@ declare namespace gapi.client {
1337
1359
  database?: GoogleCloudSecuritycenterV2Database;
1338
1360
  /** Data flow events associated with the finding. */
1339
1361
  dataFlowEvents?: GoogleCloudSecuritycenterV2DataFlowEvent[];
1362
+ /** Data retention deletion events associated with the finding. */
1363
+ dataRetentionDeletionEvents?: GoogleCloudSecuritycenterV2DataRetentionDeletionEvent[];
1340
1364
  /** Contains more details about the finding. */
1341
1365
  description?: string;
1342
1366
  /** 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.20241206",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",