@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.3.20260619 → 0.4.20260703
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 +32 -142
- 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://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260703
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -218,22 +218,14 @@ declare namespace gapi.client {
|
|
|
218
218
|
}
|
|
219
219
|
interface Config {
|
|
220
220
|
moduleEnablementState?:
|
|
221
|
-
| '
|
|
222
|
-
| 'INHERITED'
|
|
223
|
-
| 'ENABLED'
|
|
224
|
-
| 'DISABLED';
|
|
221
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
225
222
|
value?: {[P in string]: any};
|
|
226
223
|
}
|
|
227
224
|
interface Connection {
|
|
228
225
|
destinationIp?: string;
|
|
229
226
|
destinationPort?: number;
|
|
230
227
|
protocol?:
|
|
231
|
-
| '
|
|
232
|
-
| 'ICMP'
|
|
233
|
-
| 'TCP'
|
|
234
|
-
| 'UDP'
|
|
235
|
-
| 'GRE'
|
|
236
|
-
| 'ESP';
|
|
228
|
+
'PROTOCOL_UNSPECIFIED' | 'ICMP' | 'TCP' | 'UDP' | 'GRE' | 'ESP';
|
|
237
229
|
sourceIp?: string;
|
|
238
230
|
sourcePort?: number;
|
|
239
231
|
}
|
|
@@ -255,10 +247,7 @@ declare namespace gapi.client {
|
|
|
255
247
|
name?: string;
|
|
256
248
|
serviceAccount?: string;
|
|
257
249
|
serviceEnablementState?:
|
|
258
|
-
| '
|
|
259
|
-
| 'INHERITED'
|
|
260
|
-
| 'ENABLED'
|
|
261
|
-
| 'DISABLED';
|
|
250
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
262
251
|
updateTime?: string;
|
|
263
252
|
}
|
|
264
253
|
interface Control {
|
|
@@ -278,11 +267,7 @@ declare namespace gapi.client {
|
|
|
278
267
|
firstExploitationDate?: string;
|
|
279
268
|
id?: string;
|
|
280
269
|
impact?:
|
|
281
|
-
| '
|
|
282
|
-
| 'LOW'
|
|
283
|
-
| 'MEDIUM'
|
|
284
|
-
| 'HIGH'
|
|
285
|
-
| 'CRITICAL';
|
|
270
|
+
'RISK_RATING_UNSPECIFIED' | 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
286
271
|
observedInTheWild?: boolean;
|
|
287
272
|
references?: Reference[];
|
|
288
273
|
upstreamFixAvailable?: boolean;
|
|
@@ -300,21 +285,12 @@ declare namespace gapi.client {
|
|
|
300
285
|
| 'ATTACK_VECTOR_LOCAL'
|
|
301
286
|
| 'ATTACK_VECTOR_PHYSICAL';
|
|
302
287
|
availabilityImpact?:
|
|
303
|
-
| '
|
|
304
|
-
| 'IMPACT_HIGH'
|
|
305
|
-
| 'IMPACT_LOW'
|
|
306
|
-
| 'IMPACT_NONE';
|
|
288
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
307
289
|
baseScore?: number;
|
|
308
290
|
confidentialityImpact?:
|
|
309
|
-
| '
|
|
310
|
-
| 'IMPACT_HIGH'
|
|
311
|
-
| 'IMPACT_LOW'
|
|
312
|
-
| 'IMPACT_NONE';
|
|
291
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
313
292
|
integrityImpact?:
|
|
314
|
-
| '
|
|
315
|
-
| 'IMPACT_HIGH'
|
|
316
|
-
| 'IMPACT_LOW'
|
|
317
|
-
| 'IMPACT_NONE';
|
|
293
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
318
294
|
privilegesRequired?:
|
|
319
295
|
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
320
296
|
| 'PRIVILEGES_REQUIRED_NONE'
|
|
@@ -395,10 +371,7 @@ declare namespace gapi.client {
|
|
|
395
371
|
detectedRelevantKeywords?: boolean;
|
|
396
372
|
detectedRelevantPackages?: boolean;
|
|
397
373
|
workloadType?:
|
|
398
|
-
| '
|
|
399
|
-
| 'MCP_SERVER'
|
|
400
|
-
| 'AI_INFERENCE'
|
|
401
|
-
| 'AGENT';
|
|
374
|
+
'WORKLOAD_TYPE_UNSPECIFIED' | 'MCP_SERVER' | 'AI_INFERENCE' | 'AGENT';
|
|
402
375
|
}
|
|
403
376
|
interface Disk {
|
|
404
377
|
name?: string;
|
|
@@ -419,10 +392,7 @@ declare namespace gapi.client {
|
|
|
419
392
|
modules?: {[P in string]: Config};
|
|
420
393
|
name?: string;
|
|
421
394
|
serviceEnablementState?:
|
|
422
|
-
| '
|
|
423
|
-
| 'INHERITED'
|
|
424
|
-
| 'ENABLED'
|
|
425
|
-
| 'DISABLED';
|
|
395
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
426
396
|
updateTime?: string;
|
|
427
397
|
}
|
|
428
398
|
interface ExfilResource {
|
|
@@ -570,11 +540,7 @@ declare namespace gapi.client {
|
|
|
570
540
|
securityMarks?: SecurityMarks;
|
|
571
541
|
securityPosture?: SecurityPosture;
|
|
572
542
|
severity?:
|
|
573
|
-
| '
|
|
574
|
-
| 'CRITICAL'
|
|
575
|
-
| 'HIGH'
|
|
576
|
-
| 'MEDIUM'
|
|
577
|
-
| 'LOW';
|
|
543
|
+
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
578
544
|
sourceProperties?: {[P in string]: any};
|
|
579
545
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
580
546
|
toxicCombination?: ToxicCombination;
|
|
@@ -640,11 +606,7 @@ declare namespace gapi.client {
|
|
|
640
606
|
recommendation?: string;
|
|
641
607
|
resourceSelector?: GoogleCloudSecuritycenterV1ResourceSelector;
|
|
642
608
|
severity?:
|
|
643
|
-
| '
|
|
644
|
-
| 'CRITICAL'
|
|
645
|
-
| 'HIGH'
|
|
646
|
-
| 'MEDIUM'
|
|
647
|
-
| 'LOW';
|
|
609
|
+
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
648
610
|
}
|
|
649
611
|
interface GoogleCloudSecuritycenterV1CustomOutputSpec {
|
|
650
612
|
properties?: GoogleCloudSecuritycenterV1Property[];
|
|
@@ -707,11 +669,7 @@ declare namespace gapi.client {
|
|
|
707
669
|
resourceName?: string;
|
|
708
670
|
securityMarks?: GoogleCloudSecuritycenterV1p1beta1SecurityMarks;
|
|
709
671
|
severity?:
|
|
710
|
-
| '
|
|
711
|
-
| 'CRITICAL'
|
|
712
|
-
| 'HIGH'
|
|
713
|
-
| 'MEDIUM'
|
|
714
|
-
| 'LOW';
|
|
672
|
+
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
715
673
|
sourceProperties?: {[P in string]: any};
|
|
716
674
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
717
675
|
}
|
|
@@ -816,11 +774,7 @@ declare namespace gapi.client {
|
|
|
816
774
|
resourceLabelsSelector?: {[P in string]: string};
|
|
817
775
|
resourceType?: string;
|
|
818
776
|
resourceValue?:
|
|
819
|
-
| '
|
|
820
|
-
| 'HIGH'
|
|
821
|
-
| 'MEDIUM'
|
|
822
|
-
| 'LOW'
|
|
823
|
-
| 'NONE';
|
|
777
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
824
778
|
scope?: string;
|
|
825
779
|
sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
|
|
826
780
|
tagValues?: string[];
|
|
@@ -840,27 +794,16 @@ declare namespace gapi.client {
|
|
|
840
794
|
customConfig?: GoogleCloudSecuritycenterV1CustomConfig;
|
|
841
795
|
displayName?: string;
|
|
842
796
|
enablementState?:
|
|
843
|
-
| '
|
|
844
|
-
| 'ENABLED'
|
|
845
|
-
| 'DISABLED'
|
|
846
|
-
| 'INHERITED';
|
|
797
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' | 'INHERITED';
|
|
847
798
|
lastEditor?: string;
|
|
848
799
|
name?: string;
|
|
849
800
|
updateTime?: string;
|
|
850
801
|
}
|
|
851
802
|
interface GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping {
|
|
852
803
|
highSensitivityMapping?:
|
|
853
|
-
| '
|
|
854
|
-
| 'HIGH'
|
|
855
|
-
| 'MEDIUM'
|
|
856
|
-
| 'LOW'
|
|
857
|
-
| 'NONE';
|
|
804
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
858
805
|
mediumSensitivityMapping?:
|
|
859
|
-
| '
|
|
860
|
-
| 'HIGH'
|
|
861
|
-
| 'MEDIUM'
|
|
862
|
-
| 'LOW'
|
|
863
|
-
| 'NONE';
|
|
806
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
864
807
|
}
|
|
865
808
|
interface GoogleCloudSecuritycenterV2Access {
|
|
866
809
|
callerIp?: string;
|
|
@@ -1069,12 +1012,7 @@ declare namespace gapi.client {
|
|
|
1069
1012
|
destinationIp?: string;
|
|
1070
1013
|
destinationPort?: number;
|
|
1071
1014
|
protocol?:
|
|
1072
|
-
| '
|
|
1073
|
-
| 'ICMP'
|
|
1074
|
-
| 'TCP'
|
|
1075
|
-
| 'UDP'
|
|
1076
|
-
| 'GRE'
|
|
1077
|
-
| 'ESP';
|
|
1015
|
+
'PROTOCOL_UNSPECIFIED' | 'ICMP' | 'TCP' | 'UDP' | 'GRE' | 'ESP';
|
|
1078
1016
|
sourceIp?: string;
|
|
1079
1017
|
sourcePort?: number;
|
|
1080
1018
|
}
|
|
@@ -1108,11 +1046,7 @@ declare namespace gapi.client {
|
|
|
1108
1046
|
firstExploitationDate?: string;
|
|
1109
1047
|
id?: string;
|
|
1110
1048
|
impact?:
|
|
1111
|
-
| '
|
|
1112
|
-
| 'LOW'
|
|
1113
|
-
| 'MEDIUM'
|
|
1114
|
-
| 'HIGH'
|
|
1115
|
-
| 'CRITICAL';
|
|
1049
|
+
'RISK_RATING_UNSPECIFIED' | 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
1116
1050
|
observedInTheWild?: boolean;
|
|
1117
1051
|
references?: GoogleCloudSecuritycenterV2Reference[];
|
|
1118
1052
|
upstreamFixAvailable?: boolean;
|
|
@@ -1130,21 +1064,12 @@ declare namespace gapi.client {
|
|
|
1130
1064
|
| 'ATTACK_VECTOR_LOCAL'
|
|
1131
1065
|
| 'ATTACK_VECTOR_PHYSICAL';
|
|
1132
1066
|
availabilityImpact?:
|
|
1133
|
-
| '
|
|
1134
|
-
| 'IMPACT_HIGH'
|
|
1135
|
-
| 'IMPACT_LOW'
|
|
1136
|
-
| 'IMPACT_NONE';
|
|
1067
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1137
1068
|
baseScore?: number;
|
|
1138
1069
|
confidentialityImpact?:
|
|
1139
|
-
| '
|
|
1140
|
-
| 'IMPACT_HIGH'
|
|
1141
|
-
| 'IMPACT_LOW'
|
|
1142
|
-
| 'IMPACT_NONE';
|
|
1070
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1143
1071
|
integrityImpact?:
|
|
1144
|
-
| '
|
|
1145
|
-
| 'IMPACT_HIGH'
|
|
1146
|
-
| 'IMPACT_LOW'
|
|
1147
|
-
| 'IMPACT_NONE';
|
|
1072
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1148
1073
|
privilegesRequired?:
|
|
1149
1074
|
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
1150
1075
|
| 'PRIVILEGES_REQUIRED_NONE'
|
|
@@ -1211,10 +1136,7 @@ declare namespace gapi.client {
|
|
|
1211
1136
|
detectedRelevantKeywords?: boolean;
|
|
1212
1137
|
detectedRelevantPackages?: boolean;
|
|
1213
1138
|
workloadType?:
|
|
1214
|
-
| '
|
|
1215
|
-
| 'MCP_SERVER'
|
|
1216
|
-
| 'AI_INFERENCE'
|
|
1217
|
-
| 'AGENT';
|
|
1139
|
+
'WORKLOAD_TYPE_UNSPECIFIED' | 'MCP_SERVER' | 'AI_INFERENCE' | 'AGENT';
|
|
1218
1140
|
}
|
|
1219
1141
|
interface GoogleCloudSecuritycenterV2Disk {
|
|
1220
1142
|
name?: string;
|
|
@@ -1379,11 +1301,7 @@ declare namespace gapi.client {
|
|
|
1379
1301
|
securityMarks?: GoogleCloudSecuritycenterV2SecurityMarks;
|
|
1380
1302
|
securityPosture?: GoogleCloudSecuritycenterV2SecurityPosture;
|
|
1381
1303
|
severity?:
|
|
1382
|
-
| '
|
|
1383
|
-
| 'CRITICAL'
|
|
1384
|
-
| 'HIGH'
|
|
1385
|
-
| 'MEDIUM'
|
|
1386
|
-
| 'LOW';
|
|
1304
|
+
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1387
1305
|
sourceProperties?: {[P in string]: any};
|
|
1388
1306
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
1389
1307
|
toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
|
|
@@ -1479,11 +1397,7 @@ declare namespace gapi.client {
|
|
|
1479
1397
|
secondaryResources?: GoogleCloudSecuritycenterV2IssueResource[];
|
|
1480
1398
|
securityContexts?: GoogleCloudSecuritycenterV2IssueSecurityContext[];
|
|
1481
1399
|
severity?:
|
|
1482
|
-
| '
|
|
1483
|
-
| 'CRITICAL'
|
|
1484
|
-
| 'HIGH'
|
|
1485
|
-
| 'MEDIUM'
|
|
1486
|
-
| 'LOW';
|
|
1400
|
+
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1487
1401
|
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
1488
1402
|
updateTime?: string;
|
|
1489
1403
|
}
|
|
@@ -2150,11 +2064,7 @@ declare namespace gapi.client {
|
|
|
2150
2064
|
resourceLabelsSelector?: {[P in string]: string};
|
|
2151
2065
|
resourceType?: string;
|
|
2152
2066
|
resourceValue?:
|
|
2153
|
-
| '
|
|
2154
|
-
| 'HIGH'
|
|
2155
|
-
| 'MEDIUM'
|
|
2156
|
-
| 'LOW'
|
|
2157
|
-
| 'NONE';
|
|
2067
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
2158
2068
|
scope?: string;
|
|
2159
2069
|
sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
|
|
2160
2070
|
tagValues?: string[];
|
|
@@ -2213,17 +2123,9 @@ declare namespace gapi.client {
|
|
|
2213
2123
|
}
|
|
2214
2124
|
interface GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping {
|
|
2215
2125
|
highSensitivityMapping?:
|
|
2216
|
-
| '
|
|
2217
|
-
| 'HIGH'
|
|
2218
|
-
| 'MEDIUM'
|
|
2219
|
-
| 'LOW'
|
|
2220
|
-
| 'NONE';
|
|
2126
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
2221
2127
|
mediumSensitivityMapping?:
|
|
2222
|
-
| '
|
|
2223
|
-
| 'HIGH'
|
|
2224
|
-
| 'MEDIUM'
|
|
2225
|
-
| 'LOW'
|
|
2226
|
-
| 'NONE';
|
|
2128
|
+
'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
|
|
2227
2129
|
}
|
|
2228
2130
|
interface GoogleCloudSecuritycenterV2SensitivityScore {
|
|
2229
2131
|
score?:
|
|
@@ -2759,10 +2661,7 @@ declare namespace gapi.client {
|
|
|
2759
2661
|
modules?: {[P in string]: Config};
|
|
2760
2662
|
name?: string;
|
|
2761
2663
|
serviceEnablementState?:
|
|
2762
|
-
| '
|
|
2763
|
-
| 'INHERITED'
|
|
2764
|
-
| 'ENABLED'
|
|
2765
|
-
| 'DISABLED';
|
|
2664
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
2766
2665
|
updateTime?: string;
|
|
2767
2666
|
}
|
|
2768
2667
|
interface Reference {
|
|
@@ -2836,10 +2735,7 @@ declare namespace gapi.client {
|
|
|
2836
2735
|
name?: string;
|
|
2837
2736
|
serviceAccount?: string;
|
|
2838
2737
|
serviceEnablementState?:
|
|
2839
|
-
| '
|
|
2840
|
-
| 'INHERITED'
|
|
2841
|
-
| 'ENABLED'
|
|
2842
|
-
| 'DISABLED';
|
|
2738
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
2843
2739
|
updateTime?: string;
|
|
2844
2740
|
}
|
|
2845
2741
|
interface SecurityMarks {
|
|
@@ -2914,10 +2810,7 @@ declare namespace gapi.client {
|
|
|
2914
2810
|
name?: string;
|
|
2915
2811
|
serviceAccount?: string;
|
|
2916
2812
|
serviceEnablementState?:
|
|
2917
|
-
| '
|
|
2918
|
-
| 'INHERITED'
|
|
2919
|
-
| 'ENABLED'
|
|
2920
|
-
| 'DISABLED';
|
|
2813
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
2921
2814
|
updateTime?: string;
|
|
2922
2815
|
}
|
|
2923
2816
|
interface Vulnerability {
|
|
@@ -2946,10 +2839,7 @@ declare namespace gapi.client {
|
|
|
2946
2839
|
modules?: {[P in string]: Config};
|
|
2947
2840
|
name?: string;
|
|
2948
2841
|
serviceEnablementState?:
|
|
2949
|
-
| '
|
|
2950
|
-
| 'INHERITED'
|
|
2951
|
-
| 'ENABLED'
|
|
2952
|
-
| 'DISABLED';
|
|
2842
|
+
'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
|
|
2953
2843
|
updateTime?: string;
|
|
2954
2844
|
}
|
|
2955
2845
|
interface YaraRuleSignature {
|