@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.3.20260615 → 0.4.20260619

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 (2) hide show
  1. package/index.d.ts +48 -142
  2. 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: 20260615
12
+ // Revision: 20260619
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
- | 'ENABLEMENT_STATE_UNSPECIFIED'
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
- | 'PROTOCOL_UNSPECIFIED'
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
- | 'ENABLEMENT_STATE_UNSPECIFIED'
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
- | 'RISK_RATING_UNSPECIFIED'
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
- | 'IMPACT_UNSPECIFIED'
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
- | 'IMPACT_UNSPECIFIED'
310
- | 'IMPACT_HIGH'
311
- | 'IMPACT_LOW'
312
- | 'IMPACT_NONE';
291
+ 'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
313
292
  integrityImpact?:
314
- | 'IMPACT_UNSPECIFIED'
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
- | 'WORKLOAD_TYPE_UNSPECIFIED'
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
- | 'ENABLEMENT_STATE_UNSPECIFIED'
423
- | 'INHERITED'
424
- | 'ENABLED'
425
- | 'DISABLED';
395
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
426
396
  updateTime?: string;
427
397
  }
428
398
  interface ExfilResource {
@@ -542,6 +512,7 @@ declare namespace gapi.client {
542
512
  | 'SECRET';
543
513
  groupMemberships?: GroupMembership[];
544
514
  iamBindings?: IamBinding[];
515
+ iamDetails?: GoogleCloudSecuritycenterV1IamDetails;
545
516
  indicator?: Indicator;
546
517
  ipRules?: IpRules;
547
518
  job?: Job;
@@ -569,11 +540,7 @@ declare namespace gapi.client {
569
540
  securityMarks?: SecurityMarks;
570
541
  securityPosture?: SecurityPosture;
571
542
  severity?:
572
- | 'SEVERITY_UNSPECIFIED'
573
- | 'CRITICAL'
574
- | 'HIGH'
575
- | 'MEDIUM'
576
- | 'LOW';
543
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
577
544
  sourceProperties?: {[P in string]: any};
578
545
  state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
579
546
  toxicCombination?: ToxicCombination;
@@ -639,11 +606,7 @@ declare namespace gapi.client {
639
606
  recommendation?: string;
640
607
  resourceSelector?: GoogleCloudSecuritycenterV1ResourceSelector;
641
608
  severity?:
642
- | 'SEVERITY_UNSPECIFIED'
643
- | 'CRITICAL'
644
- | 'HIGH'
645
- | 'MEDIUM'
646
- | 'LOW';
609
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
647
610
  }
648
611
  interface GoogleCloudSecuritycenterV1CustomOutputSpec {
649
612
  properties?: GoogleCloudSecuritycenterV1Property[];
@@ -672,6 +635,13 @@ declare namespace gapi.client {
672
635
  status?: string;
673
636
  ticketInfo?: TicketInfo;
674
637
  }
638
+ interface GoogleCloudSecuritycenterV1IamDetails {
639
+ iamRolePermissions?: GoogleCloudSecuritycenterV1IamRolePermission[];
640
+ }
641
+ interface GoogleCloudSecuritycenterV1IamRolePermission {
642
+ name?: string;
643
+ role?: string;
644
+ }
675
645
  interface GoogleCloudSecuritycenterV1MuteConfig {
676
646
  createTime?: string;
677
647
  description?: string;
@@ -699,11 +669,7 @@ declare namespace gapi.client {
699
669
  resourceName?: string;
700
670
  securityMarks?: GoogleCloudSecuritycenterV1p1beta1SecurityMarks;
701
671
  severity?:
702
- | 'SEVERITY_UNSPECIFIED'
703
- | 'CRITICAL'
704
- | 'HIGH'
705
- | 'MEDIUM'
706
- | 'LOW';
672
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
707
673
  sourceProperties?: {[P in string]: any};
708
674
  state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
709
675
  }
@@ -808,11 +774,7 @@ declare namespace gapi.client {
808
774
  resourceLabelsSelector?: {[P in string]: string};
809
775
  resourceType?: string;
810
776
  resourceValue?:
811
- | 'RESOURCE_VALUE_UNSPECIFIED'
812
- | 'HIGH'
813
- | 'MEDIUM'
814
- | 'LOW'
815
- | 'NONE';
777
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
816
778
  scope?: string;
817
779
  sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping;
818
780
  tagValues?: string[];
@@ -832,27 +794,16 @@ declare namespace gapi.client {
832
794
  customConfig?: GoogleCloudSecuritycenterV1CustomConfig;
833
795
  displayName?: string;
834
796
  enablementState?:
835
- | 'ENABLEMENT_STATE_UNSPECIFIED'
836
- | 'ENABLED'
837
- | 'DISABLED'
838
- | 'INHERITED';
797
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' | 'INHERITED';
839
798
  lastEditor?: string;
840
799
  name?: string;
841
800
  updateTime?: string;
842
801
  }
843
802
  interface GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping {
844
803
  highSensitivityMapping?:
845
- | 'RESOURCE_VALUE_UNSPECIFIED'
846
- | 'HIGH'
847
- | 'MEDIUM'
848
- | 'LOW'
849
- | 'NONE';
804
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
850
805
  mediumSensitivityMapping?:
851
- | 'RESOURCE_VALUE_UNSPECIFIED'
852
- | 'HIGH'
853
- | 'MEDIUM'
854
- | 'LOW'
855
- | 'NONE';
806
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
856
807
  }
857
808
  interface GoogleCloudSecuritycenterV2Access {
858
809
  callerIp?: string;
@@ -1061,12 +1012,7 @@ declare namespace gapi.client {
1061
1012
  destinationIp?: string;
1062
1013
  destinationPort?: number;
1063
1014
  protocol?:
1064
- | 'PROTOCOL_UNSPECIFIED'
1065
- | 'ICMP'
1066
- | 'TCP'
1067
- | 'UDP'
1068
- | 'GRE'
1069
- | 'ESP';
1015
+ 'PROTOCOL_UNSPECIFIED' | 'ICMP' | 'TCP' | 'UDP' | 'GRE' | 'ESP';
1070
1016
  sourceIp?: string;
1071
1017
  sourcePort?: number;
1072
1018
  }
@@ -1100,11 +1046,7 @@ declare namespace gapi.client {
1100
1046
  firstExploitationDate?: string;
1101
1047
  id?: string;
1102
1048
  impact?:
1103
- | 'RISK_RATING_UNSPECIFIED'
1104
- | 'LOW'
1105
- | 'MEDIUM'
1106
- | 'HIGH'
1107
- | 'CRITICAL';
1049
+ 'RISK_RATING_UNSPECIFIED' | 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
1108
1050
  observedInTheWild?: boolean;
1109
1051
  references?: GoogleCloudSecuritycenterV2Reference[];
1110
1052
  upstreamFixAvailable?: boolean;
@@ -1122,21 +1064,12 @@ declare namespace gapi.client {
1122
1064
  | 'ATTACK_VECTOR_LOCAL'
1123
1065
  | 'ATTACK_VECTOR_PHYSICAL';
1124
1066
  availabilityImpact?:
1125
- | 'IMPACT_UNSPECIFIED'
1126
- | 'IMPACT_HIGH'
1127
- | 'IMPACT_LOW'
1128
- | 'IMPACT_NONE';
1067
+ 'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
1129
1068
  baseScore?: number;
1130
1069
  confidentialityImpact?:
1131
- | 'IMPACT_UNSPECIFIED'
1132
- | 'IMPACT_HIGH'
1133
- | 'IMPACT_LOW'
1134
- | 'IMPACT_NONE';
1070
+ 'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
1135
1071
  integrityImpact?:
1136
- | 'IMPACT_UNSPECIFIED'
1137
- | 'IMPACT_HIGH'
1138
- | 'IMPACT_LOW'
1139
- | 'IMPACT_NONE';
1072
+ 'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
1140
1073
  privilegesRequired?:
1141
1074
  | 'PRIVILEGES_REQUIRED_UNSPECIFIED'
1142
1075
  | 'PRIVILEGES_REQUIRED_NONE'
@@ -1203,10 +1136,7 @@ declare namespace gapi.client {
1203
1136
  detectedRelevantKeywords?: boolean;
1204
1137
  detectedRelevantPackages?: boolean;
1205
1138
  workloadType?:
1206
- | 'WORKLOAD_TYPE_UNSPECIFIED'
1207
- | 'MCP_SERVER'
1208
- | 'AI_INFERENCE'
1209
- | 'AGENT';
1139
+ 'WORKLOAD_TYPE_UNSPECIFIED' | 'MCP_SERVER' | 'AI_INFERENCE' | 'AGENT';
1210
1140
  }
1211
1141
  interface GoogleCloudSecuritycenterV2Disk {
1212
1142
  name?: string;
@@ -1343,6 +1273,7 @@ declare namespace gapi.client {
1343
1273
  | 'SECRET';
1344
1274
  groupMemberships?: GoogleCloudSecuritycenterV2GroupMembership[];
1345
1275
  iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
1276
+ iamDetails?: GoogleCloudSecuritycenterV2IamDetails;
1346
1277
  indicator?: GoogleCloudSecuritycenterV2Indicator;
1347
1278
  ipRules?: GoogleCloudSecuritycenterV2IpRules;
1348
1279
  job?: GoogleCloudSecuritycenterV2Job;
@@ -1370,11 +1301,7 @@ declare namespace gapi.client {
1370
1301
  securityMarks?: GoogleCloudSecuritycenterV2SecurityMarks;
1371
1302
  securityPosture?: GoogleCloudSecuritycenterV2SecurityPosture;
1372
1303
  severity?:
1373
- | 'SEVERITY_UNSPECIFIED'
1374
- | 'CRITICAL'
1375
- | 'HIGH'
1376
- | 'MEDIUM'
1377
- | 'LOW';
1304
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
1378
1305
  sourceProperties?: {[P in string]: any};
1379
1306
  state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
1380
1307
  toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
@@ -1420,6 +1347,13 @@ declare namespace gapi.client {
1420
1347
  member?: string;
1421
1348
  role?: string;
1422
1349
  }
1350
+ interface GoogleCloudSecuritycenterV2IamDetails {
1351
+ iamRolePermissions?: GoogleCloudSecuritycenterV2IamRolePermission[];
1352
+ }
1353
+ interface GoogleCloudSecuritycenterV2IamRolePermission {
1354
+ name?: string;
1355
+ role?: string;
1356
+ }
1423
1357
  interface GoogleCloudSecuritycenterV2Indicator {
1424
1358
  domains?: string[];
1425
1359
  ipAddresses?: string[];
@@ -1463,11 +1397,7 @@ declare namespace gapi.client {
1463
1397
  secondaryResources?: GoogleCloudSecuritycenterV2IssueResource[];
1464
1398
  securityContexts?: GoogleCloudSecuritycenterV2IssueSecurityContext[];
1465
1399
  severity?:
1466
- | 'SEVERITY_UNSPECIFIED'
1467
- | 'CRITICAL'
1468
- | 'HIGH'
1469
- | 'MEDIUM'
1470
- | 'LOW';
1400
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
1471
1401
  state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
1472
1402
  updateTime?: string;
1473
1403
  }
@@ -2134,11 +2064,7 @@ declare namespace gapi.client {
2134
2064
  resourceLabelsSelector?: {[P in string]: string};
2135
2065
  resourceType?: string;
2136
2066
  resourceValue?:
2137
- | 'RESOURCE_VALUE_UNSPECIFIED'
2138
- | 'HIGH'
2139
- | 'MEDIUM'
2140
- | 'LOW'
2141
- | 'NONE';
2067
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
2142
2068
  scope?: string;
2143
2069
  sensitiveDataProtectionMapping?: GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping;
2144
2070
  tagValues?: string[];
@@ -2197,17 +2123,9 @@ declare namespace gapi.client {
2197
2123
  }
2198
2124
  interface GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping {
2199
2125
  highSensitivityMapping?:
2200
- | 'RESOURCE_VALUE_UNSPECIFIED'
2201
- | 'HIGH'
2202
- | 'MEDIUM'
2203
- | 'LOW'
2204
- | 'NONE';
2126
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
2205
2127
  mediumSensitivityMapping?:
2206
- | 'RESOURCE_VALUE_UNSPECIFIED'
2207
- | 'HIGH'
2208
- | 'MEDIUM'
2209
- | 'LOW'
2210
- | 'NONE';
2128
+ 'RESOURCE_VALUE_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NONE';
2211
2129
  }
2212
2130
  interface GoogleCloudSecuritycenterV2SensitivityScore {
2213
2131
  score?:
@@ -2743,10 +2661,7 @@ declare namespace gapi.client {
2743
2661
  modules?: {[P in string]: Config};
2744
2662
  name?: string;
2745
2663
  serviceEnablementState?:
2746
- | 'ENABLEMENT_STATE_UNSPECIFIED'
2747
- | 'INHERITED'
2748
- | 'ENABLED'
2749
- | 'DISABLED';
2664
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
2750
2665
  updateTime?: string;
2751
2666
  }
2752
2667
  interface Reference {
@@ -2820,10 +2735,7 @@ declare namespace gapi.client {
2820
2735
  name?: string;
2821
2736
  serviceAccount?: string;
2822
2737
  serviceEnablementState?:
2823
- | 'ENABLEMENT_STATE_UNSPECIFIED'
2824
- | 'INHERITED'
2825
- | 'ENABLED'
2826
- | 'DISABLED';
2738
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
2827
2739
  updateTime?: string;
2828
2740
  }
2829
2741
  interface SecurityMarks {
@@ -2898,10 +2810,7 @@ declare namespace gapi.client {
2898
2810
  name?: string;
2899
2811
  serviceAccount?: string;
2900
2812
  serviceEnablementState?:
2901
- | 'ENABLEMENT_STATE_UNSPECIFIED'
2902
- | 'INHERITED'
2903
- | 'ENABLED'
2904
- | 'DISABLED';
2813
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
2905
2814
  updateTime?: string;
2906
2815
  }
2907
2816
  interface Vulnerability {
@@ -2930,10 +2839,7 @@ declare namespace gapi.client {
2930
2839
  modules?: {[P in string]: Config};
2931
2840
  name?: string;
2932
2841
  serviceEnablementState?:
2933
- | 'ENABLEMENT_STATE_UNSPECIFIED'
2934
- | 'INHERITED'
2935
- | 'ENABLED'
2936
- | 'DISABLED';
2842
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'INHERITED' | 'ENABLED' | 'DISABLED';
2937
2843
  updateTime?: string;
2938
2844
  }
2939
2845
  interface YaraRuleSignature {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.3.20260615",
3
+ "version": "0.4.20260619",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",