@maxim_mazurok/gapi.client.securitycenter-v1beta1 0.0.20220921 → 0.0.20221014

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 (3) hide show
  1. package/index.d.ts +44 -4
  2. package/package.json +1 -1
  3. package/tests.ts +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=v1beta1
12
- // Revision: 20220921
12
+ // Revision: 20221014
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -59,7 +59,7 @@ declare namespace gapi.client {
59
59
  * A string representing a username. This is likely not an IAM principal. For instance, this may be the system user name if the finding is VM-related, or this may be some type of
60
60
  * application login user name, depending on the type of finding.
61
61
  */
62
- username?: string;
62
+ userName?: string;
63
63
  }
64
64
  interface AccessReview {
65
65
  /** Group is the API Group of the Resource. "*" means all. */
@@ -100,6 +100,12 @@ declare namespace gapi.client {
100
100
  /** The project ids to use for filtering asset discovery. */
101
101
  projectIds?: string[];
102
102
  }
103
+ interface AssociatedFinding {
104
+ /** Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 */
105
+ canonicalFindingName?: string;
106
+ /** The additional taxonomy group within findings from a given source. */
107
+ findingCategory?: string;
108
+ }
103
109
  interface AuditConfig {
104
110
  /** The configuration for logging of each type of permission. */
105
111
  auditLogConfigs?: AuditLogConfig[];
@@ -234,6 +240,12 @@ declare namespace gapi.client {
234
240
  /** The percentage of memory page hashes in the signature that were matched. */
235
241
  percentPagesMatched?: number;
236
242
  }
243
+ interface Edge {
244
+ /** This is the resource name of the destination node. */
245
+ destination?: string;
246
+ /** This is the resource name of the source node. */
247
+ source?: string;
248
+ }
237
249
  // tslint:disable-next-line:no-empty-interface
238
250
  interface Empty {
239
251
  }
@@ -511,11 +523,29 @@ declare namespace gapi.client {
511
523
  // tslint:disable-next-line:no-empty-interface
512
524
  interface GoogleCloudSecuritycenterV1BulkMuteFindingsResponse {
513
525
  }
514
- // tslint:disable-next-line:no-empty-interface
515
526
  interface GoogleCloudSecuritycenterV1ExposedResource {
527
+ /** Human readable name of the resource that is exposed. */
528
+ displayName?: string;
529
+ /** The ways in which this resource is exposed. Examples: Read, Write */
530
+ methods?: string[];
531
+ /** Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/exposedResources/789` */
532
+ name?: string;
533
+ /** The name of the resource that is exposed. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
534
+ resource?: string;
535
+ /** The resource type of the exposed resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
536
+ resourceType?: string;
537
+ /** How valuable this resource is. */
538
+ resourceValue?: string;
516
539
  }
517
- // tslint:disable-next-line:no-empty-interface
518
540
  interface GoogleCloudSecuritycenterV1ExposurePath {
541
+ /** A list of the edges between nodes in this exposure path. */
542
+ edges?: Edge[];
543
+ /** The leaf node of this exposure path. */
544
+ exposedResource?: GoogleCloudSecuritycenterV1ExposedResource;
545
+ /** Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/exposurePaths/789` */
546
+ name?: string;
547
+ /** A list of nodes that exist in this exposure path. */
548
+ pathNodes?: PathNode[];
519
549
  }
520
550
  interface GoogleCloudSecuritycenterV1ExternalSystem {
521
551
  /** References primary/secondary etc assignees in the external system. */
@@ -943,6 +973,16 @@ declare namespace gapi.client {
943
973
  */
944
974
  name?: string;
945
975
  }
976
+ interface PathNode {
977
+ /** The findings associated with this node in the exposure path. */
978
+ associatedFindings?: AssociatedFinding[];
979
+ /** Human readable name of this resource. */
980
+ displayName?: string;
981
+ /** The name of the resource at this point in the exposure path. The format of the name is: https://cloud.google.com/apis/design/resource_names#full_resource_name */
982
+ resource?: string;
983
+ /** The resource type of this resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
984
+ resourceType?: string;
985
+ }
946
986
  interface Pod {
947
987
  /** Pod containers associated with this finding, if any. */
948
988
  containers?: Container[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta1",
3
- "version": "0.0.20220921",
3
+ "version": "0.0.20221014",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220921
6
+ // Revision: 20221014
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */