@maxim_mazurok/gapi.client.securitycenter-v1beta1 0.0.20230321 → 0.0.20230330

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 +1 -84
  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: 20230321
12
+ // Revision: 20230330
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -101,14 +101,6 @@ declare namespace gapi.client {
101
101
  /** The project ids to use for filtering asset discovery. */
102
102
  projectIds?: string[];
103
103
  }
104
- interface AssociatedFinding {
105
- /** Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 */
106
- canonicalFindingName?: string;
107
- /** The additional taxonomy group within findings from a given source. */
108
- findingCategory?: string;
109
- /** Full resource name of the finding. */
110
- name?: string;
111
- }
112
104
  interface AuditConfig {
113
105
  /** The configuration for logging of each type of permission. */
114
106
  auditLogConfigs?: AuditLogConfig[];
@@ -257,12 +249,6 @@ declare namespace gapi.client {
257
249
  /** The percentage of memory page hashes in the signature that were matched. */
258
250
  percentPagesMatched?: number;
259
251
  }
260
- interface Edge {
261
- /** This is the resource name of the destination node. */
262
- destination?: string;
263
- /** This is the resource name of the source node. */
264
- source?: string;
265
- }
266
252
  // tslint:disable-next-line:no-empty-interface
267
253
  interface Empty {
268
254
  }
@@ -394,8 +380,6 @@ declare namespace gapi.client {
394
380
  name?: string;
395
381
  /** Next steps associate to the finding. */
396
382
  nextSteps?: string;
397
- /** Contains information about the org policy constraints associated with the finding. */
398
- orgPolicyConstraints?: OrgPolicyConstraint[];
399
383
  /**
400
384
  * The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after
401
385
  * creation time. For example: "organizations/{organization_id}/sources/{source_id}"
@@ -552,30 +536,6 @@ declare namespace gapi.client {
552
536
  // tslint:disable-next-line:no-empty-interface
553
537
  interface GoogleCloudSecuritycenterV1BulkMuteFindingsResponse {
554
538
  }
555
- interface GoogleCloudSecuritycenterV1ExposedResource {
556
- /** Human readable name of the resource that is exposed. */
557
- displayName?: string;
558
- /** The ways in which this resource is exposed. Examples: Read, Write */
559
- methods?: string[];
560
- /** Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/exposedResources/789` */
561
- name?: string;
562
- /** The name of the resource that is exposed. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
563
- resource?: string;
564
- /** The resource type of the exposed resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
565
- resourceType?: string;
566
- /** How valuable this resource is. */
567
- resourceValue?: string;
568
- }
569
- interface GoogleCloudSecuritycenterV1ExposurePath {
570
- /** A list of the edges between nodes in this exposure path. */
571
- edges?: Edge[];
572
- /** The leaf node of this exposure path. */
573
- exposedResource?: GoogleCloudSecuritycenterV1ExposedResource;
574
- /** Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/exposurePaths/789` */
575
- name?: string;
576
- /** A list of nodes that exist in this exposure path. */
577
- pathNodes?: PathNode[];
578
- }
579
539
  interface GoogleCloudSecuritycenterV1ExternalSystem {
580
540
  /** References primary/secondary etc assignees in the external system. */
581
541
  assignees?: string[];
@@ -751,35 +711,6 @@ declare namespace gapi.client {
751
711
  /** The full resource type of the resource. */
752
712
  type?: string;
753
713
  }
754
- interface GoogleCloudSecuritycenterV1ResourceValueConfig {
755
- /** Output only. Timestamp this resource value config was created. */
756
- createTime?: string;
757
- /** Description of the resource value config. */
758
- description?: string;
759
- /** Name for the resource value config */
760
- name?: string;
761
- /**
762
- * List of resource labels to search for, evaluated with AND. E.g. "resource_labels_selector": {"key": "value", "env": "prod"} will match resources with labels "key": "value" AND
763
- * "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
764
- */
765
- resourceLabelsSelector?: { [P in string]: string };
766
- /**
767
- * Apply resource_value only to resources that match resource_type. resource_type will be checked with "AND" of other resources. E.g. "storage.googleapis.com/Bucket" with
768
- * resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
769
- */
770
- resourceType?: string;
771
- /** Required. Resource value level this expression represents */
772
- resourceValue?: string;
773
- /** Project or folder to scope this config to. For example, "project/456" would apply this config only to resources in "project/456" scope will be checked with "AND" of other resources. */
774
- scope?: string;
775
- /**
776
- * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
777
- * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
778
- */
779
- tagValues?: string[];
780
- /** Output only. Timestamp this resource value config was last updated. */
781
- updateTime?: string;
782
- }
783
714
  interface GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse {
784
715
  /** The duration between asset discovery run start and end */
785
716
  duration?: string;
@@ -1040,20 +971,6 @@ declare namespace gapi.client {
1040
971
  */
1041
972
  name?: string;
1042
973
  }
1043
- interface OrgPolicyConstraint {
1044
- /** The resource name of the constraint. Example: "organizations/{organization_id}/constraints/{constraint_name}" */
1045
- name?: string;
1046
- }
1047
- interface PathNode {
1048
- /** The findings associated with this node in the exposure path. */
1049
- associatedFindings?: AssociatedFinding[];
1050
- /** Human readable name of this resource. */
1051
- displayName?: string;
1052
- /** 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 */
1053
- resource?: string;
1054
- /** The resource type of this resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
1055
- resourceType?: string;
1056
- }
1057
974
  interface Pod {
1058
975
  /** Pod containers associated with this finding, if any. */
1059
976
  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.20230321",
3
+ "version": "0.0.20230330",
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: 20230321
6
+ // Revision: 20230330
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */