@maxim_mazurok/gapi.client.assuredworkloads-v1 0.2.20260615 → 0.2.20260623
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 +166 -4
- 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://assuredworkloads.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260623
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -99,7 +99,10 @@ declare namespace gapi.client {
|
|
|
99
99
|
/** Required. The resource names of the Violations to acknowledge. Format for each name: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} */
|
|
100
100
|
names?: string[];
|
|
101
101
|
}
|
|
102
|
-
interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
|
|
102
|
+
interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
|
|
103
|
+
/** Count of acknowledged violations. */
|
|
104
|
+
acknowledgedViolationsCount?: number;
|
|
105
|
+
}
|
|
103
106
|
interface GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata {
|
|
104
107
|
/** Optional. Compliance controls that should be applied to the resources managed by the workload. */
|
|
105
108
|
complianceRegime?:
|
|
@@ -156,8 +159,45 @@ declare namespace gapi.client {
|
|
|
156
159
|
/** Optional. The parent of the workload. */
|
|
157
160
|
parent?: string;
|
|
158
161
|
}
|
|
162
|
+
interface GoogleCloudAssuredworkloadsV1DbFindingSummary {
|
|
163
|
+
/** Output only. The category of the finding. */
|
|
164
|
+
findingCategory?: string;
|
|
165
|
+
/** Output only. The class of the finding. */
|
|
166
|
+
findingClass?:
|
|
167
|
+
| 'FINDING_CLASS_UNSPECIFIED'
|
|
168
|
+
| 'THREAT'
|
|
169
|
+
| 'VULNERABILITY'
|
|
170
|
+
| 'MISCONFIGURATION'
|
|
171
|
+
| 'OBSERVATION'
|
|
172
|
+
| 'SCC_ERROR'
|
|
173
|
+
| 'POSTURE_VIOLATION'
|
|
174
|
+
| 'TOXIC_COMBINATION'
|
|
175
|
+
| 'SENSITIVE_DATA_RISK'
|
|
176
|
+
| 'CHOKEPOINT';
|
|
177
|
+
/** Output only. The count of the finding. */
|
|
178
|
+
findingCount?: string;
|
|
179
|
+
/** Identifier. The name of the finding summary. */
|
|
180
|
+
name?: string;
|
|
181
|
+
/** Optional. The list of compliance frameworks that the finding belongs to. */
|
|
182
|
+
relatedFrameworks?: string[];
|
|
183
|
+
/** Output only. The severity of the finding. */
|
|
184
|
+
severity?:
|
|
185
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
186
|
+
| 'CRITICAL'
|
|
187
|
+
| 'HIGH'
|
|
188
|
+
| 'MEDIUM'
|
|
189
|
+
| 'LOW';
|
|
190
|
+
/** Output only. The last updated time of the finding. */
|
|
191
|
+
updateTime?: string;
|
|
192
|
+
}
|
|
159
193
|
interface GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse {}
|
|
160
194
|
interface GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse {}
|
|
195
|
+
interface GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse {
|
|
196
|
+
/** List of finding summary by category. */
|
|
197
|
+
dbFindingSummaries?: GoogleCloudAssuredworkloadsV1DbFindingSummary[];
|
|
198
|
+
/** Output only. The token to retrieve the next page of results. */
|
|
199
|
+
nextPageToken?: string;
|
|
200
|
+
}
|
|
161
201
|
interface GoogleCloudAssuredworkloadsV1ListViolationsResponse {
|
|
162
202
|
/** The next page token. Returns empty if reached the last page. */
|
|
163
203
|
nextPageToken?: string;
|
|
@@ -704,6 +744,82 @@ declare namespace gapi.client {
|
|
|
704
744
|
body: GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest,
|
|
705
745
|
): Request<GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse>;
|
|
706
746
|
}
|
|
747
|
+
interface DbFindingSummariesResource {
|
|
748
|
+
/** Lists the finding summary by category for a given scope. */
|
|
749
|
+
list(request?: {
|
|
750
|
+
/** V1 error format. */
|
|
751
|
+
'$.xgafv'?: '1' | '2';
|
|
752
|
+
/** OAuth access token. */
|
|
753
|
+
access_token?: string;
|
|
754
|
+
/** Data format for response. */
|
|
755
|
+
alt?: 'json' | 'media' | 'proto';
|
|
756
|
+
/** JSONP */
|
|
757
|
+
callback?: string;
|
|
758
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
759
|
+
fields?: string;
|
|
760
|
+
/** Optional. The filtering results. */
|
|
761
|
+
filter?: string;
|
|
762
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** OAuth 2.0 token for the current user. */
|
|
765
|
+
oauth_token?: string;
|
|
766
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
767
|
+
pageSize?: number;
|
|
768
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
769
|
+
pageToken?: string;
|
|
770
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
771
|
+
parent: string;
|
|
772
|
+
/** Returns response with indentations and line breaks. */
|
|
773
|
+
prettyPrint?: boolean;
|
|
774
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
775
|
+
quotaUser?: string;
|
|
776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
777
|
+
upload_protocol?: string;
|
|
778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
779
|
+
uploadType?: string;
|
|
780
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
781
|
+
}
|
|
782
|
+
interface LocationsResource {
|
|
783
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
784
|
+
}
|
|
785
|
+
interface FoldersResource {
|
|
786
|
+
locations: LocationsResource;
|
|
787
|
+
}
|
|
788
|
+
interface DbFindingSummariesResource {
|
|
789
|
+
/** Lists the finding summary by category for a given scope. */
|
|
790
|
+
list(request?: {
|
|
791
|
+
/** V1 error format. */
|
|
792
|
+
'$.xgafv'?: '1' | '2';
|
|
793
|
+
/** OAuth access token. */
|
|
794
|
+
access_token?: string;
|
|
795
|
+
/** Data format for response. */
|
|
796
|
+
alt?: 'json' | 'media' | 'proto';
|
|
797
|
+
/** JSONP */
|
|
798
|
+
callback?: string;
|
|
799
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
800
|
+
fields?: string;
|
|
801
|
+
/** Optional. The filtering results. */
|
|
802
|
+
filter?: string;
|
|
803
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
804
|
+
key?: string;
|
|
805
|
+
/** OAuth 2.0 token for the current user. */
|
|
806
|
+
oauth_token?: string;
|
|
807
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
808
|
+
pageSize?: number;
|
|
809
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
810
|
+
pageToken?: string;
|
|
811
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
812
|
+
parent: string;
|
|
813
|
+
/** Returns response with indentations and line breaks. */
|
|
814
|
+
prettyPrint?: boolean;
|
|
815
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
816
|
+
quotaUser?: string;
|
|
817
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
818
|
+
upload_protocol?: string;
|
|
819
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
820
|
+
uploadType?: string;
|
|
821
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
822
|
+
}
|
|
707
823
|
interface OperationsResource {
|
|
708
824
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
709
825
|
get(request?: {
|
|
@@ -946,7 +1062,7 @@ declare namespace gapi.client {
|
|
|
946
1062
|
uploadType?: string;
|
|
947
1063
|
/** Request body */
|
|
948
1064
|
resource: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest;
|
|
949
|
-
}): Request<
|
|
1065
|
+
}): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
|
|
950
1066
|
batchAcknowledgeViolations(
|
|
951
1067
|
request: {
|
|
952
1068
|
/** V1 error format. */
|
|
@@ -975,7 +1091,7 @@ declare namespace gapi.client {
|
|
|
975
1091
|
uploadType?: string;
|
|
976
1092
|
},
|
|
977
1093
|
body: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest,
|
|
978
|
-
): Request<
|
|
1094
|
+
): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
|
|
979
1095
|
/** Retrieves Assured Workload Violation based on ID. */
|
|
980
1096
|
get(request?: {
|
|
981
1097
|
/** V1 error format. */
|
|
@@ -1466,15 +1582,61 @@ declare namespace gapi.client {
|
|
|
1466
1582
|
violations: ViolationsResource;
|
|
1467
1583
|
}
|
|
1468
1584
|
interface LocationsResource {
|
|
1585
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
1469
1586
|
operations: OperationsResource;
|
|
1470
1587
|
workloads: WorkloadsResource;
|
|
1471
1588
|
}
|
|
1472
1589
|
interface OrganizationsResource {
|
|
1473
1590
|
locations: LocationsResource;
|
|
1474
1591
|
}
|
|
1592
|
+
interface DbFindingSummariesResource {
|
|
1593
|
+
/** Lists the finding summary by category for a given scope. */
|
|
1594
|
+
list(request?: {
|
|
1595
|
+
/** V1 error format. */
|
|
1596
|
+
'$.xgafv'?: '1' | '2';
|
|
1597
|
+
/** OAuth access token. */
|
|
1598
|
+
access_token?: string;
|
|
1599
|
+
/** Data format for response. */
|
|
1600
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1601
|
+
/** JSONP */
|
|
1602
|
+
callback?: string;
|
|
1603
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1604
|
+
fields?: string;
|
|
1605
|
+
/** Optional. The filtering results. */
|
|
1606
|
+
filter?: string;
|
|
1607
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1608
|
+
key?: string;
|
|
1609
|
+
/** OAuth 2.0 token for the current user. */
|
|
1610
|
+
oauth_token?: string;
|
|
1611
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
1612
|
+
pageSize?: number;
|
|
1613
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
1614
|
+
pageToken?: string;
|
|
1615
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
1616
|
+
parent: string;
|
|
1617
|
+
/** Returns response with indentations and line breaks. */
|
|
1618
|
+
prettyPrint?: boolean;
|
|
1619
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1620
|
+
quotaUser?: string;
|
|
1621
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1622
|
+
upload_protocol?: string;
|
|
1623
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1624
|
+
uploadType?: string;
|
|
1625
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
1626
|
+
}
|
|
1627
|
+
interface LocationsResource {
|
|
1628
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
1629
|
+
}
|
|
1630
|
+
interface ProjectsResource {
|
|
1631
|
+
locations: LocationsResource;
|
|
1632
|
+
}
|
|
1475
1633
|
|
|
1476
1634
|
const assuredworkloads: AssuredworkloadsResource;
|
|
1477
1635
|
|
|
1636
|
+
const folders: FoldersResource;
|
|
1637
|
+
|
|
1478
1638
|
const organizations: OrganizationsResource;
|
|
1639
|
+
|
|
1640
|
+
const projects: ProjectsResource;
|
|
1479
1641
|
}
|
|
1480
1642
|
}
|