@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20230321 → 0.0.20230329
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.
- package/index.d.ts +1 -84
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20230329
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -78,14 +78,6 @@ declare namespace gapi.client {
|
|
|
78
78
|
/** Version is the API Version of the Resource. "*" means all. */
|
|
79
79
|
version?: string;
|
|
80
80
|
}
|
|
81
|
-
interface AssociatedFinding {
|
|
82
|
-
/** Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 */
|
|
83
|
-
canonicalFindingName?: string;
|
|
84
|
-
/** The additional taxonomy group within findings from a given source. */
|
|
85
|
-
findingCategory?: string;
|
|
86
|
-
/** Full resource name of the finding. */
|
|
87
|
-
name?: string;
|
|
88
|
-
}
|
|
89
81
|
interface CloudDlpDataProfile {
|
|
90
82
|
/** Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`. */
|
|
91
83
|
dataProfile?: string;
|
|
@@ -225,12 +217,6 @@ declare namespace gapi.client {
|
|
|
225
217
|
/** The percentage of memory page hashes in the signature that were matched. */
|
|
226
218
|
percentPagesMatched?: number;
|
|
227
219
|
}
|
|
228
|
-
interface Edge {
|
|
229
|
-
/** This is the resource name of the destination node. */
|
|
230
|
-
destination?: string;
|
|
231
|
-
/** This is the resource name of the source node. */
|
|
232
|
-
source?: string;
|
|
233
|
-
}
|
|
234
220
|
interface EnvironmentVariable {
|
|
235
221
|
/** Environment variable name as a JSON encoded string. */
|
|
236
222
|
name?: string;
|
|
@@ -365,8 +351,6 @@ declare namespace gapi.client {
|
|
|
365
351
|
name?: string;
|
|
366
352
|
/** Next steps associate to the finding. */
|
|
367
353
|
nextSteps?: string;
|
|
368
|
-
/** Contains information about the org policy constraints associated with the finding. */
|
|
369
|
-
orgPolicyConstraints?: OrgPolicyConstraint[];
|
|
370
354
|
/**
|
|
371
355
|
* 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
|
|
372
356
|
* creation time. For example: "organizations/{organization_id}/sources/{source_id}"
|
|
@@ -455,30 +439,6 @@ declare namespace gapi.client {
|
|
|
455
439
|
// tslint:disable-next-line:no-empty-interface
|
|
456
440
|
interface GoogleCloudSecuritycenterV1BulkMuteFindingsResponse {
|
|
457
441
|
}
|
|
458
|
-
interface GoogleCloudSecuritycenterV1ExposedResource {
|
|
459
|
-
/** Human readable name of the resource that is exposed. */
|
|
460
|
-
displayName?: string;
|
|
461
|
-
/** The ways in which this resource is exposed. Examples: Read, Write */
|
|
462
|
-
methods?: string[];
|
|
463
|
-
/** Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/exposedResources/789` */
|
|
464
|
-
name?: string;
|
|
465
|
-
/** The name of the resource that is exposed. See: https://cloud.google.com/apis/design/resource_names#full_resource_name */
|
|
466
|
-
resource?: string;
|
|
467
|
-
/** The resource type of the exposed resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
|
|
468
|
-
resourceType?: string;
|
|
469
|
-
/** How valuable this resource is. */
|
|
470
|
-
resourceValue?: string;
|
|
471
|
-
}
|
|
472
|
-
interface GoogleCloudSecuritycenterV1ExposurePath {
|
|
473
|
-
/** A list of the edges between nodes in this exposure path. */
|
|
474
|
-
edges?: Edge[];
|
|
475
|
-
/** The leaf node of this exposure path. */
|
|
476
|
-
exposedResource?: GoogleCloudSecuritycenterV1ExposedResource;
|
|
477
|
-
/** Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/exposurePaths/789` */
|
|
478
|
-
name?: string;
|
|
479
|
-
/** A list of nodes that exist in this exposure path. */
|
|
480
|
-
pathNodes?: PathNode[];
|
|
481
|
-
}
|
|
482
442
|
interface GoogleCloudSecuritycenterV1ExternalSystem {
|
|
483
443
|
/** References primary/secondary etc assignees in the external system. */
|
|
484
444
|
assignees?: string[];
|
|
@@ -654,35 +614,6 @@ declare namespace gapi.client {
|
|
|
654
614
|
/** The full resource type of the resource. */
|
|
655
615
|
type?: string;
|
|
656
616
|
}
|
|
657
|
-
interface GoogleCloudSecuritycenterV1ResourceValueConfig {
|
|
658
|
-
/** Output only. Timestamp this resource value config was created. */
|
|
659
|
-
createTime?: string;
|
|
660
|
-
/** Description of the resource value config. */
|
|
661
|
-
description?: string;
|
|
662
|
-
/** Name for the resource value config */
|
|
663
|
-
name?: string;
|
|
664
|
-
/**
|
|
665
|
-
* 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
|
|
666
|
-
* "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels
|
|
667
|
-
*/
|
|
668
|
-
resourceLabelsSelector?: { [P in string]: string };
|
|
669
|
-
/**
|
|
670
|
-
* 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
|
|
671
|
-
* resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
|
|
672
|
-
*/
|
|
673
|
-
resourceType?: string;
|
|
674
|
-
/** Required. Resource value level this expression represents */
|
|
675
|
-
resourceValue?: string;
|
|
676
|
-
/** 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. */
|
|
677
|
-
scope?: string;
|
|
678
|
-
/**
|
|
679
|
-
* Required. Tag values combined with AND to check against. Values in the form "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
|
|
680
|
-
* https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
|
681
|
-
*/
|
|
682
|
-
tagValues?: string[];
|
|
683
|
-
/** Output only. Timestamp this resource value config was last updated. */
|
|
684
|
-
updateTime?: string;
|
|
685
|
-
}
|
|
686
617
|
interface GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse {
|
|
687
618
|
/** The duration between asset discovery run start and end */
|
|
688
619
|
duration?: string;
|
|
@@ -785,20 +716,6 @@ declare namespace gapi.client {
|
|
|
785
716
|
/** 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. */
|
|
786
717
|
onboardingLevel?: string;
|
|
787
718
|
}
|
|
788
|
-
interface OrgPolicyConstraint {
|
|
789
|
-
/** The resource name of the constraint. Example: "organizations/{organization_id}/constraints/{constraint_name}" */
|
|
790
|
-
name?: string;
|
|
791
|
-
}
|
|
792
|
-
interface PathNode {
|
|
793
|
-
/** The findings associated with this node in the exposure path. */
|
|
794
|
-
associatedFindings?: AssociatedFinding[];
|
|
795
|
-
/** Human readable name of this resource. */
|
|
796
|
-
displayName?: string;
|
|
797
|
-
/** 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 */
|
|
798
|
-
resource?: string;
|
|
799
|
-
/** The resource type of this resource. See: https://cloud.google.com/asset-inventory/docs/supported-asset-types */
|
|
800
|
-
resourceType?: string;
|
|
801
|
-
}
|
|
802
719
|
interface Pod {
|
|
803
720
|
/** Pod containers associated with this finding, if any. */
|
|
804
721
|
containers?: Container[];
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230329
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|