@maxim_mazurok/gapi.client.securitycenter-v1beta2 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=v1beta2
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. */
@@ -77,6 +77,12 @@ declare namespace gapi.client {
77
77
  /** Version is the API Version of the Resource. "*" means all. */
78
78
  version?: string;
79
79
  }
80
+ interface AssociatedFinding {
81
+ /** Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 */
82
+ canonicalFindingName?: string;
83
+ /** The additional taxonomy group within findings from a given source. */
84
+ findingCategory?: string;
85
+ }
80
86
  interface Compliance {
81
87
  /** Policies within the standard/benchmark e.g. A.12.4.1 */
82
88
  ids?: string[];
@@ -202,6 +208,12 @@ declare namespace gapi.client {
202
208
  /** The percentage of memory page hashes in the signature that were matched. */
203
209
  percentPagesMatched?: number;
204
210
  }
211
+ interface Edge {
212
+ /** This is the resource name of the destination node. */
213
+ destination?: string;
214
+ /** This is the resource name of the source node. */
215
+ source?: string;
216
+ }
205
217
  interface EnvironmentVariable {
206
218
  /** Environment variable name as a JSON encoded string. */
207
219
  name?: string;
@@ -414,11 +426,29 @@ declare namespace gapi.client {
414
426
  // tslint:disable-next-line:no-empty-interface
415
427
  interface GoogleCloudSecuritycenterV1BulkMuteFindingsResponse {
416
428
  }
417
- // tslint:disable-next-line:no-empty-interface
418
429
  interface GoogleCloudSecuritycenterV1ExposedResource {
430
+ /** Human readable name of the resource that is exposed. */
431
+ displayName?: string;
432
+ /** The ways in which this resource is exposed. Examples: Read, Write */
433
+ methods?: string[];
434
+ /** Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/exposedResources/789` */
435
+ name?: string;
436
+ /** The name of the resource that is exposed. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
437
+ resource?: string;
438
+ /** The resource type of the exposed resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
439
+ resourceType?: string;
440
+ /** How valuable this resource is. */
441
+ resourceValue?: string;
419
442
  }
420
- // tslint:disable-next-line:no-empty-interface
421
443
  interface GoogleCloudSecuritycenterV1ExposurePath {
444
+ /** A list of the edges between nodes in this exposure path. */
445
+ edges?: Edge[];
446
+ /** The leaf node of this exposure path. */
447
+ exposedResource?: GoogleCloudSecuritycenterV1ExposedResource;
448
+ /** Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/exposurePaths/789` */
449
+ name?: string;
450
+ /** A list of nodes that exist in this exposure path. */
451
+ pathNodes?: PathNode[];
422
452
  }
423
453
  interface GoogleCloudSecuritycenterV1ExternalSystem {
424
454
  /** References primary/secondary etc assignees in the external system. */
@@ -688,6 +718,16 @@ declare namespace gapi.client {
688
718
  /** Describes the level a given organization, folder, or project is onboarded with SCC. If the resource wasn't onboarded, NOT_FOUND would have been thrown. */
689
719
  onboardingLevel?: string;
690
720
  }
721
+ interface PathNode {
722
+ /** The findings associated with this node in the exposure path. */
723
+ associatedFindings?: AssociatedFinding[];
724
+ /** Human readable name of this resource. */
725
+ displayName?: string;
726
+ /** 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 */
727
+ resource?: string;
728
+ /** The resource type of this resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
729
+ resourceType?: string;
730
+ }
691
731
  interface Pod {
692
732
  /** Pod containers associated with this finding, if any. */
693
733
  containers?: Container[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20220921",
3
+ "version": "0.0.20221014",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
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 */