@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20240720 → 0.0.20240806

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 +51 -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: 20240720
12
+ // Revision: 20240806
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -293,6 +293,8 @@ declare namespace gapi.client {
293
293
  cvssv3?: Cvssv3;
294
294
  /** The exploitation activity of the vulnerability in the wild. */
295
295
  exploitationActivity?: string;
296
+ /** Date the first publicly available exploit or PoC was released. */
297
+ exploitReleaseDate?: string;
296
298
  /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
297
299
  id?: string;
298
300
  /** The potential impact of the vulnerability if it was to be exploited. */
@@ -360,6 +362,12 @@ declare namespace gapi.client {
360
362
  /** Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh */
361
363
  relativePath?: string;
362
364
  }
365
+ interface DynamicMuteRecord {
366
+ /** When the dynamic mute rule first matched the finding. */
367
+ matchTime?: string;
368
+ /** The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`. */
369
+ muteConfig?: string;
370
+ }
363
371
  interface EnvironmentVariable {
364
372
  /** Environment variable name as a JSON encoded string. */
365
373
  name?: string;
@@ -483,6 +491,8 @@ declare namespace gapi.client {
483
491
  moduleName?: string;
484
492
  /** Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute. */
485
493
  mute?: string;
494
+ /** Output only. The mute information regarding this finding. */
495
+ muteInfo?: MuteInfo;
486
496
  /** Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding. */
487
497
  muteInitiator?: string;
488
498
  /** Output only. The most recent time this finding was muted or unmuted. */
@@ -636,12 +646,16 @@ declare namespace gapi.client {
636
646
  description?: string;
637
647
  /** The human readable name to be displayed for the mute config. */
638
648
  displayName?: string;
649
+ /** Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings. */
650
+ expiryTime?: string;
639
651
  /** Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:` */
640
652
  filter?: string;
641
653
  /** Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update. */
642
654
  mostRecentEditor?: string;
643
655
  /** This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}` */
644
656
  name?: string;
657
+ /** Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation. */
658
+ type?: string;
645
659
  /** Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update. */
646
660
  updateTime?: string;
647
661
  }
@@ -1075,6 +1089,8 @@ declare namespace gapi.client {
1075
1089
  cvssv3?: GoogleCloudSecuritycenterV2Cvssv3;
1076
1090
  /** The exploitation activity of the vulnerability in the wild. */
1077
1091
  exploitationActivity?: string;
1092
+ /** Date the first publicly available exploit or PoC was released. */
1093
+ exploitReleaseDate?: string;
1078
1094
  /** The unique identifier for the vulnerability. e.g. CVE-2021-34527 */
1079
1095
  id?: string;
1080
1096
  /** The potential impact of the vulnerability if it was to be exploited. */
@@ -1134,6 +1150,12 @@ declare namespace gapi.client {
1134
1150
  /** Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh */
1135
1151
  relativePath?: string;
1136
1152
  }
1153
+ interface GoogleCloudSecuritycenterV2DynamicMuteRecord {
1154
+ /** When the dynamic mute rule first matched the finding. */
1155
+ matchTime?: string;
1156
+ /** The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`. */
1157
+ muteConfig?: string;
1158
+ }
1137
1159
  interface GoogleCloudSecuritycenterV2EnvironmentVariable {
1138
1160
  /** Environment variable name as a JSON encoded string. */
1139
1161
  name?: string;
@@ -1261,6 +1283,8 @@ declare namespace gapi.client {
1261
1283
  moduleName?: string;
1262
1284
  /** Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute. */
1263
1285
  mute?: string;
1286
+ /** Output only. The mute information regarding this finding. */
1287
+ muteInfo?: GoogleCloudSecuritycenterV2MuteInfo;
1264
1288
  /** Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding. */
1265
1289
  muteInitiator?: string;
1266
1290
  /** Output only. The most recent time this finding was muted or unmuted. */
@@ -1403,6 +1427,8 @@ declare namespace gapi.client {
1403
1427
  createTime?: string;
1404
1428
  /** A description of the mute config. */
1405
1429
  description?: string;
1430
+ /** Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings. */
1431
+ expiryTime?: string;
1406
1432
  /** Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:` */
1407
1433
  filter?: string;
1408
1434
  /** Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update. */
@@ -1414,6 +1440,12 @@ declare namespace gapi.client {
1414
1440
  /** Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update. */
1415
1441
  updateTime?: string;
1416
1442
  }
1443
+ interface GoogleCloudSecuritycenterV2MuteInfo {
1444
+ /** The list of dynamic mute rules that currently match the finding. */
1445
+ dynamicMuteRecords?: GoogleCloudSecuritycenterV2DynamicMuteRecord[];
1446
+ /** If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute. */
1447
+ staticMute?: GoogleCloudSecuritycenterV2StaticMute;
1448
+ }
1417
1449
  interface GoogleCloudSecuritycenterV2Node {
1418
1450
  /** [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node. */
1419
1451
  name?: string;
@@ -1654,6 +1686,12 @@ declare namespace gapi.client {
1654
1686
  /** A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]` */
1655
1687
  principalSubject?: string;
1656
1688
  }
1689
+ interface GoogleCloudSecuritycenterV2StaticMute {
1690
+ /** When the static mute was applied. */
1691
+ applyTime?: string;
1692
+ /** The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value. */
1693
+ state?: string;
1694
+ }
1657
1695
  interface GoogleCloudSecuritycenterV2Subject {
1658
1696
  /** Authentication type for the subject. */
1659
1697
  kind?: string;
@@ -1789,6 +1827,12 @@ declare namespace gapi.client {
1789
1827
  /** The MITRE ATT&CK version referenced by the above fields. E.g. "8". */
1790
1828
  version?: string;
1791
1829
  }
1830
+ interface MuteInfo {
1831
+ /** The list of dynamic mute rules that currently match the finding. */
1832
+ dynamicMuteRecords?: DynamicMuteRecord[];
1833
+ /** If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute. */
1834
+ staticMute?: StaticMute;
1835
+ }
1792
1836
  interface Node {
1793
1837
  /** [Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node. */
1794
1838
  name?: string;
@@ -1999,6 +2043,12 @@ declare namespace gapi.client {
1999
2043
  /** A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]` */
2000
2044
  principalSubject?: string;
2001
2045
  }
2046
+ interface StaticMute {
2047
+ /** When the static mute was applied. */
2048
+ applyTime?: string;
2049
+ /** The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value. */
2050
+ state?: string;
2051
+ }
2002
2052
  interface Subject {
2003
2053
  /** Authentication type for the subject. */
2004
2054
  kind?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20240720",
3
+ "version": "0.0.20240806",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",