@crowdstrike/foundry-js 0.18.0 → 0.19.0

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/dist/index.js CHANGED
@@ -1055,6 +1055,217 @@ class AlertsApiBridge {
1055
1055
  }
1056
1056
  }
1057
1057
 
1058
+ /**
1059
+ *
1060
+ * This file is autogenerated.
1061
+ *
1062
+ * DO NOT EDIT DIRECTLY
1063
+ *
1064
+ **/
1065
+ class CloudSecurityAssetsApiBridge {
1066
+ bridge;
1067
+ constructor(bridge) {
1068
+ this.bridge = bridge;
1069
+ }
1070
+ getBridge() {
1071
+ return this.bridge;
1072
+ }
1073
+ async getAggregatesResourcesCountByManagedByV1(urlParams = {}) {
1074
+ const message = {
1075
+ type: 'api',
1076
+ api: 'cloudSecurityAssets',
1077
+ method: 'getAggregatesResourcesCountByManagedByV1',
1078
+ payload: {
1079
+ params: urlParams,
1080
+ },
1081
+ };
1082
+ return this.bridge.postMessage(message);
1083
+ }
1084
+ }
1085
+
1086
+ /**
1087
+ *
1088
+ * This file is autogenerated.
1089
+ *
1090
+ * DO NOT EDIT DIRECTLY
1091
+ *
1092
+ **/
1093
+ class CloudregistrationApiBridge {
1094
+ bridge;
1095
+ constructor(bridge) {
1096
+ this.bridge = bridge;
1097
+ }
1098
+ getBridge() {
1099
+ return this.bridge;
1100
+ }
1101
+ async getCloudSecurityRegistrationAwsCombinedAccountsV1(urlParams = {}) {
1102
+ const message = {
1103
+ type: 'api',
1104
+ api: 'cloudregistration',
1105
+ method: 'getCloudSecurityRegistrationAwsCombinedAccountsV1',
1106
+ payload: {
1107
+ params: urlParams,
1108
+ },
1109
+ };
1110
+ return this.bridge.postMessage(message);
1111
+ }
1112
+ }
1113
+
1114
+ /**
1115
+ *
1116
+ * This file is autogenerated.
1117
+ *
1118
+ * DO NOT EDIT DIRECTLY
1119
+ *
1120
+ **/
1121
+ class ContainerSecurityApiBridge {
1122
+ bridge;
1123
+ constructor(bridge) {
1124
+ this.bridge = bridge;
1125
+ }
1126
+ getBridge() {
1127
+ return this.bridge;
1128
+ }
1129
+ async getAggregatesClustersCountV1(urlParams = {}) {
1130
+ const message = {
1131
+ type: 'api',
1132
+ api: 'containerSecurity',
1133
+ method: 'getAggregatesClustersCountV1',
1134
+ payload: {
1135
+ params: urlParams,
1136
+ },
1137
+ };
1138
+ return this.bridge.postMessage(message);
1139
+ }
1140
+ async getAggregatesContainersCountV1(urlParams = {}) {
1141
+ const message = {
1142
+ type: 'api',
1143
+ api: 'containerSecurity',
1144
+ method: 'getAggregatesContainersCountV1',
1145
+ payload: {
1146
+ params: urlParams,
1147
+ },
1148
+ };
1149
+ return this.bridge.postMessage(message);
1150
+ }
1151
+ async getAggregatesContainersGroupByManagedV1(urlParams = {}) {
1152
+ const message = {
1153
+ type: 'api',
1154
+ api: 'containerSecurity',
1155
+ method: 'getAggregatesContainersGroupByManagedV1',
1156
+ payload: {
1157
+ params: urlParams,
1158
+ },
1159
+ };
1160
+ return this.bridge.postMessage(message);
1161
+ }
1162
+ async getAggregatesContainersSensorCoverageV1(urlParams = {}) {
1163
+ const message = {
1164
+ type: 'api',
1165
+ api: 'containerSecurity',
1166
+ method: 'getAggregatesContainersSensorCoverageV1',
1167
+ payload: {
1168
+ params: urlParams,
1169
+ },
1170
+ };
1171
+ return this.bridge.postMessage(message);
1172
+ }
1173
+ async getAggregatesImagesCountByStateV1(urlParams = {}) {
1174
+ const message = {
1175
+ type: 'api',
1176
+ api: 'containerSecurity',
1177
+ method: 'getAggregatesImagesCountByStateV1',
1178
+ payload: {
1179
+ params: urlParams,
1180
+ },
1181
+ };
1182
+ return this.bridge.postMessage(message);
1183
+ }
1184
+ async getAggregatesNodesCountV1(urlParams = {}) {
1185
+ const message = {
1186
+ type: 'api',
1187
+ api: 'containerSecurity',
1188
+ method: 'getAggregatesNodesCountV1',
1189
+ payload: {
1190
+ params: urlParams,
1191
+ },
1192
+ };
1193
+ return this.bridge.postMessage(message);
1194
+ }
1195
+ async getAggregatesPodsCountV1(urlParams = {}) {
1196
+ const message = {
1197
+ type: 'api',
1198
+ api: 'containerSecurity',
1199
+ method: 'getAggregatesPodsCountV1',
1200
+ payload: {
1201
+ params: urlParams,
1202
+ },
1203
+ };
1204
+ return this.bridge.postMessage(message);
1205
+ }
1206
+ async getAggregatesUnidentifiedContainersCountV1(urlParams = {}) {
1207
+ const message = {
1208
+ type: 'api',
1209
+ api: 'containerSecurity',
1210
+ method: 'getAggregatesUnidentifiedContainersCountV1',
1211
+ payload: {
1212
+ params: urlParams,
1213
+ },
1214
+ };
1215
+ return this.bridge.postMessage(message);
1216
+ }
1217
+ async getCombinedClustersV1(urlParams = {}) {
1218
+ const message = {
1219
+ type: 'api',
1220
+ api: 'containerSecurity',
1221
+ method: 'getCombinedClustersV1',
1222
+ payload: {
1223
+ params: urlParams,
1224
+ },
1225
+ };
1226
+ return this.bridge.postMessage(message);
1227
+ }
1228
+ }
1229
+
1230
+ /**
1231
+ *
1232
+ * This file is autogenerated.
1233
+ *
1234
+ * DO NOT EDIT DIRECTLY
1235
+ *
1236
+ **/
1237
+ class CspmRegistrationApiBridge {
1238
+ bridge;
1239
+ constructor(bridge) {
1240
+ this.bridge = bridge;
1241
+ }
1242
+ getBridge() {
1243
+ return this.bridge;
1244
+ }
1245
+ async getCspmregistrationCloudConnectCspmAzureCombinedAccountsV1(urlParams = {}) {
1246
+ const message = {
1247
+ type: 'api',
1248
+ api: 'cspmRegistration',
1249
+ method: 'getCspmregistrationCloudConnectCspmAzureCombinedAccountsV1',
1250
+ payload: {
1251
+ params: urlParams,
1252
+ },
1253
+ };
1254
+ return this.bridge.postMessage(message);
1255
+ }
1256
+ async getCspmregistrationCloudConnectCspmGcpCombinedAccountsV1(urlParams = {}) {
1257
+ const message = {
1258
+ type: 'api',
1259
+ api: 'cspmRegistration',
1260
+ method: 'getCspmregistrationCloudConnectCspmGcpCombinedAccountsV1',
1261
+ payload: {
1262
+ params: urlParams,
1263
+ },
1264
+ };
1265
+ return this.bridge.postMessage(message);
1266
+ }
1267
+ }
1268
+
1058
1269
  /**
1059
1270
  *
1060
1271
  * This file is autogenerated.
@@ -2300,6 +2511,34 @@ class PluginsApiBridge {
2300
2511
  }
2301
2512
  }
2302
2513
 
2514
+ /**
2515
+ *
2516
+ * This file is autogenerated.
2517
+ *
2518
+ * DO NOT EDIT DIRECTLY
2519
+ *
2520
+ **/
2521
+ class RegistryAssessmentApiBridge {
2522
+ bridge;
2523
+ constructor(bridge) {
2524
+ this.bridge = bridge;
2525
+ }
2526
+ getBridge() {
2527
+ return this.bridge;
2528
+ }
2529
+ async getAggregatesRegistriesCountByStateV1(urlParams = {}) {
2530
+ const message = {
2531
+ type: 'api',
2532
+ api: 'registryAssessment',
2533
+ method: 'getAggregatesRegistriesCountByStateV1',
2534
+ payload: {
2535
+ params: urlParams,
2536
+ },
2537
+ };
2538
+ return this.bridge.postMessage(message);
2539
+ }
2540
+ }
2541
+
2303
2542
  /**
2304
2543
  *
2305
2544
  * This file is autogenerated.
@@ -2513,9 +2752,6 @@ class FalconPublicApis {
2513
2752
  assertConnection(this.api);
2514
2753
  return new MitreApiBridge(this.api.bridge);
2515
2754
  }
2516
- /**
2517
- * @internal
2518
- */
2519
2755
  get plugins() {
2520
2756
  assertConnection(this.api);
2521
2757
  return new PluginsApiBridge(this.api.bridge);
@@ -2532,27 +2768,38 @@ class FalconPublicApis {
2532
2768
  assertConnection(this.api);
2533
2769
  return new WorkflowsApiBridge(this.api.bridge);
2534
2770
  }
2535
- /**
2536
- * @internal
2537
- */
2771
+ get cloudSecurityAssets() {
2772
+ assertConnection(this.api);
2773
+ return new CloudSecurityAssetsApiBridge(this.api.bridge);
2774
+ }
2775
+ get cloudregistration() {
2776
+ assertConnection(this.api);
2777
+ return new CloudregistrationApiBridge(this.api.bridge);
2778
+ }
2779
+ get containerSecurity() {
2780
+ assertConnection(this.api);
2781
+ return new ContainerSecurityApiBridge(this.api.bridge);
2782
+ }
2783
+ get cspmRegistration() {
2784
+ assertConnection(this.api);
2785
+ return new CspmRegistrationApiBridge(this.api.bridge);
2786
+ }
2538
2787
  get customobjects() {
2539
2788
  assertConnection(this.api);
2540
2789
  return new CustomobjectsApiBridge(this.api.bridge);
2541
2790
  }
2542
- /**
2543
- * @internal
2544
- */
2545
2791
  get faasGateway() {
2546
2792
  assertConnection(this.api);
2547
2793
  return new FaasGatewayApiBridge(this.api.bridge);
2548
2794
  }
2549
- /**
2550
- * @internal
2551
- */
2552
2795
  get loggingapi() {
2553
2796
  assertConnection(this.api);
2554
2797
  return new LoggingapiApiBridge(this.api.bridge);
2555
2798
  }
2799
+ get registryAssessment() {
2800
+ assertConnection(this.api);
2801
+ return new RegistryAssessmentApiBridge(this.api.bridge);
2802
+ }
2556
2803
  }
2557
2804
  __decorate([
2558
2805
  Memoize()
@@ -2584,6 +2831,18 @@ __decorate([
2584
2831
  __decorate([
2585
2832
  Memoize()
2586
2833
  ], FalconPublicApis.prototype, "workflows", null);
2834
+ __decorate([
2835
+ Memoize()
2836
+ ], FalconPublicApis.prototype, "cloudSecurityAssets", null);
2837
+ __decorate([
2838
+ Memoize()
2839
+ ], FalconPublicApis.prototype, "cloudregistration", null);
2840
+ __decorate([
2841
+ Memoize()
2842
+ ], FalconPublicApis.prototype, "containerSecurity", null);
2843
+ __decorate([
2844
+ Memoize()
2845
+ ], FalconPublicApis.prototype, "cspmRegistration", null);
2587
2846
  __decorate([
2588
2847
  Memoize()
2589
2848
  ], FalconPublicApis.prototype, "customobjects", null);
@@ -2593,6 +2852,9 @@ __decorate([
2593
2852
  __decorate([
2594
2853
  Memoize()
2595
2854
  ], FalconPublicApis.prototype, "loggingapi", null);
2855
+ __decorate([
2856
+ Memoize()
2857
+ ], FalconPublicApis.prototype, "registryAssessment", null);
2596
2858
 
2597
2859
  class ApiIntegration {
2598
2860
  falcon;