@crowdstrike/aidr 1.0.2 → 1.1.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.
@@ -23,6 +23,14 @@ declare const PangeaValidationErrorsSchema: v.ObjectSchema<{
23
23
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
24
24
  readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
25
25
  }, undefined>;
26
+ declare const PangeaAcceptedResponseSchema: v.ObjectSchema<{
27
+ readonly request_id: v.StringSchema<undefined>;
28
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
29
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
30
+ readonly status: v.StringSchema<undefined>;
31
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
32
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
33
+ }, undefined>;
26
34
  /**
27
35
  * Device status. Allowed values are active, pending, disabled
28
36
  */
@@ -208,7 +216,7 @@ declare const ChatCompletionsGuardSchema: v.StrictObjectSchema<{
208
216
  readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
217
  readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
210
218
  readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
211
- readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
219
+ readonly event_type: v.OptionalSchema<v.StringSchema<undefined>, "input">;
212
220
  readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
213
221
  readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
214
222
  readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -223,6 +231,7 @@ declare const ChatCompletionsGuardSchema: v.StrictObjectSchema<{
223
231
  readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
224
232
  }, undefined>, undefined>, undefined>;
225
233
  }, v.UnknownSchema, undefined>, undefined>;
234
+ readonly input_fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
226
235
  }, undefined>;
227
236
  declare const AidrPromptInjectionResultSchema: v.ObjectSchema<{
228
237
  readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -625,7 +634,7 @@ declare const AidrMetricSchema: v.StrictObjectSchema<{
625
634
  readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
626
635
  readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
627
636
  readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
628
- readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
637
+ readonly order_by: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
629
638
  readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
630
639
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
631
640
  readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
@@ -642,7 +651,7 @@ declare const AidrMetricAggregatesSearchParamsSchema: v.StrictObjectSchema<{
642
651
  readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
643
652
  readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
644
653
  readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
645
- readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
654
+ readonly order_by: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
646
655
  readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
647
656
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
648
657
  readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
@@ -687,13 +696,14 @@ declare const AidrMetricResultSchema: v.ObjectSchema<{
687
696
  }, undefined>, undefined>, undefined>, undefined>;
688
697
  }, undefined>;
689
698
  /**
690
- * A time in ISO-8601 format
691
- */
692
- declare const AuthnTimestampSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
693
- /**
694
- * A time in ISO-8601 format or null
699
+ * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
695
700
  */
696
- declare const AirdTimestampNullableSchema: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>;
701
+ declare const AccessRuleSettingsSchema: v.StrictObjectSchema<{
702
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
703
+ readonly name: v.StringSchema<undefined>;
704
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
705
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
706
+ }, undefined>;
697
707
  /**
698
708
  * Details about the evaluation of a single rule, including whether it matched, the action to take, the rule name, and optional debugging information.
699
709
  */
@@ -778,15 +788,6 @@ declare const DetectorSettingsSchema: v.ArraySchema<v.StrictObjectSchema<{
778
788
  }, undefined>, undefined>, undefined>;
779
789
  }, undefined>;
780
790
  }, undefined>, undefined>;
781
- /**
782
- * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
783
- */
784
- declare const AccessRuleSettingsSchema: v.StrictObjectSchema<{
785
- readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
786
- readonly name: v.StringSchema<undefined>;
787
- readonly state: v.PicklistSchema<["block", "report"], undefined>;
788
- readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
789
- }, undefined>;
790
791
  declare const AidrPolicySchema: v.StrictObjectSchema<{
791
792
  readonly key: v.StringSchema<undefined>;
792
793
  readonly name: v.StringSchema<undefined>;
@@ -1036,21 +1037,6 @@ declare const RecipeConfigSchema: v.StrictObjectSchema<{
1036
1037
  declare const AidrPolicyDefaultsSchema: v.ObjectSchema<{
1037
1038
  readonly default_policies: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1038
1039
  }, undefined>;
1039
- declare const LanguageResultSchema: v.ObjectSchema<{
1040
- readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1041
- readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1042
- }, undefined>;
1043
- declare const RedactEntityResultSchema: v.ObjectSchema<{
1044
- readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1045
- readonly action: v.StringSchema<undefined>;
1046
- readonly type: v.StringSchema<undefined>;
1047
- readonly value: v.StringSchema<undefined>;
1048
- readonly redacted: v.BooleanSchema<undefined>;
1049
- readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1050
- }, undefined>, undefined>, undefined>;
1051
- }, undefined>;
1052
- declare const MaliciousEntityActionSchema: v.PicklistSchema<["report", "defang", "disabled", "block"], undefined>;
1053
- declare const PiiEntityActionSchema: v.PicklistSchema<["disabled", "report", "block", "mask", "partial_masking", "replacement", "hash", "fpe"], undefined>;
1054
1040
  declare const AidrOtelResourceLogsSchema: v.GenericSchema;
1055
1041
  declare const AidrOtelResourceSchema: v.GenericSchema;
1056
1042
  declare const AidrOtelScopeLogsSchema: v.GenericSchema;
@@ -1074,7 +1060,7 @@ declare const AidrPostV1GuardChatCompletionsRequestSchema: v.ObjectSchema<{
1074
1060
  readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1075
1061
  readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1076
1062
  readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
- readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
1063
+ readonly event_type: v.OptionalSchema<v.StringSchema<undefined>, "input">;
1078
1064
  readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1079
1065
  readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
1080
1066
  readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1089,14 +1075,12 @@ declare const AidrPostV1GuardChatCompletionsRequestSchema: v.ObjectSchema<{
1089
1075
  readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1090
1076
  }, undefined>, undefined>, undefined>;
1091
1077
  }, v.UnknownSchema, undefined>, undefined>;
1078
+ readonly input_fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1092
1079
  }, undefined>, undefined>;
1093
1080
  readonly path: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1094
1081
  readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1095
1082
  }, undefined>;
1096
- /**
1097
- * No description provided
1098
- */
1099
- declare const AidrPostV1GuardChatCompletionsResponseSchema: v.IntersectSchema<[v.ObjectSchema<{
1083
+ declare const AidrPostV1GuardChatCompletionsResponseSchema: v.UnionSchema<[v.IntersectSchema<[v.ObjectSchema<{
1100
1084
  readonly request_id: v.StringSchema<undefined>;
1101
1085
  readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1102
1086
  readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
@@ -1199,7 +1183,55 @@ declare const AidrPostV1GuardChatCompletionsResponseSchema: v.IntersectSchema<[v
1199
1183
  readonly access_rules: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1200
1184
  readonly fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1201
1185
  }, undefined>, undefined>;
1202
- }, undefined>], undefined>;
1186
+ }, undefined>], undefined>, v.IntersectSchema<[v.ObjectSchema<{
1187
+ readonly request_id: v.StringSchema<undefined>;
1188
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1189
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1190
+ readonly status: v.StringSchema<undefined>;
1191
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1192
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1193
+ }, undefined>, v.ObjectSchema<{
1194
+ readonly request_id: v.StringSchema<undefined>;
1195
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1196
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1197
+ readonly status: v.StringSchema<undefined>;
1198
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1199
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1200
+ }, undefined>], undefined>], undefined>;
1201
+ declare const AidrPostV1UnredactRequestSchema: v.ObjectSchema<{
1202
+ readonly body: v.OptionalSchema<v.StrictObjectSchema<{
1203
+ readonly redacted_data: v.UnknownSchema;
1204
+ readonly fpe_context: v.StringSchema<undefined>;
1205
+ }, undefined>, undefined>;
1206
+ readonly path: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1207
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1208
+ }, undefined>;
1209
+ declare const AidrPostV1UnredactResponseSchema: v.UnionSchema<[v.IntersectSchema<[v.ObjectSchema<{
1210
+ readonly request_id: v.StringSchema<undefined>;
1211
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1212
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1213
+ readonly status: v.StringSchema<undefined>;
1214
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1215
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1216
+ }, undefined>, v.ObjectSchema<{
1217
+ readonly result: v.OptionalSchema<v.ObjectSchema<{
1218
+ readonly data: v.UnknownSchema;
1219
+ }, undefined>, undefined>;
1220
+ }, undefined>], undefined>, v.IntersectSchema<[v.ObjectSchema<{
1221
+ readonly request_id: v.StringSchema<undefined>;
1222
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1223
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1224
+ readonly status: v.StringSchema<undefined>;
1225
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1226
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1227
+ }, undefined>, v.ObjectSchema<{
1228
+ readonly request_id: v.StringSchema<undefined>;
1229
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1230
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1231
+ readonly status: v.StringSchema<undefined>;
1232
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1233
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1234
+ }, undefined>], undefined>], undefined>;
1203
1235
  declare const GetAsyncRequestRequestSchema: v.ObjectSchema<{
1204
1236
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1205
1237
  readonly path: v.ObjectSchema<{
@@ -1222,11 +1254,12 @@ declare const GetAsyncRequestResponseSchema: v.UnionSchema<[v.ObjectSchema<{
1222
1254
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1223
1255
  readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1224
1256
  }, undefined>, v.ObjectSchema<{
1225
- readonly result: v.OptionalSchema<v.ObjectSchema<{
1257
+ readonly result: v.ObjectSchema<{
1226
1258
  readonly ttl_mins: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1227
1259
  readonly retry_counter: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1228
1260
  readonly location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1229
- }, undefined>, undefined>;
1261
+ }, undefined>;
1262
+ readonly status: v.PicklistSchema<["Accepted"], undefined>;
1230
1263
  }, undefined>], undefined>], undefined>;
1231
1264
  //#endregion
1232
- export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, AirdTimestampNullableSchema, AuthnTimestampSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, LanguageResultSchema, MaliciousEntityActionSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PiiEntityActionSchema, PolicyIdSchema, RecipeConfigSchema, RedactEntityResultSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
1265
+ export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPostV1UnredactRequestSchema, AidrPostV1UnredactResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, PangeaAcceptedResponseSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PolicyIdSchema, RecipeConfigSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
@@ -23,6 +23,14 @@ declare const PangeaValidationErrorsSchema: v.ObjectSchema<{
23
23
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
24
24
  readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
25
25
  }, undefined>;
26
+ declare const PangeaAcceptedResponseSchema: v.ObjectSchema<{
27
+ readonly request_id: v.StringSchema<undefined>;
28
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
29
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
30
+ readonly status: v.StringSchema<undefined>;
31
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
32
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
33
+ }, undefined>;
26
34
  /**
27
35
  * Device status. Allowed values are active, pending, disabled
28
36
  */
@@ -208,7 +216,7 @@ declare const ChatCompletionsGuardSchema: v.StrictObjectSchema<{
208
216
  readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
217
  readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
210
218
  readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
211
- readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
219
+ readonly event_type: v.OptionalSchema<v.StringSchema<undefined>, "input">;
212
220
  readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
213
221
  readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
214
222
  readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -223,6 +231,7 @@ declare const ChatCompletionsGuardSchema: v.StrictObjectSchema<{
223
231
  readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
224
232
  }, undefined>, undefined>, undefined>;
225
233
  }, v.UnknownSchema, undefined>, undefined>;
234
+ readonly input_fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
226
235
  }, undefined>;
227
236
  declare const AidrPromptInjectionResultSchema: v.ObjectSchema<{
228
237
  readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -625,7 +634,7 @@ declare const AidrMetricSchema: v.StrictObjectSchema<{
625
634
  readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
626
635
  readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
627
636
  readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
628
- readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
637
+ readonly order_by: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
629
638
  readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
630
639
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
631
640
  readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
@@ -642,7 +651,7 @@ declare const AidrMetricAggregatesSearchParamsSchema: v.StrictObjectSchema<{
642
651
  readonly detector_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
643
652
  readonly tag_filters: v.OptionalSchema<v.StrictObjectSchema<{}, undefined>, undefined>;
644
653
  readonly group_by: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>;
645
- readonly order_by: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
654
+ readonly order_by: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
646
655
  readonly order: v.OptionalSchema<v.PicklistSchema<["asc", "desc"], undefined>, undefined>;
647
656
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
648
657
  readonly offset: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
@@ -687,13 +696,14 @@ declare const AidrMetricResultSchema: v.ObjectSchema<{
687
696
  }, undefined>, undefined>, undefined>, undefined>;
688
697
  }, undefined>;
689
698
  /**
690
- * A time in ISO-8601 format
691
- */
692
- declare const AuthnTimestampSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
693
- /**
694
- * A time in ISO-8601 format or null
699
+ * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
695
700
  */
696
- declare const AirdTimestampNullableSchema: v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.NullSchema<undefined>], undefined>;
701
+ declare const AccessRuleSettingsSchema: v.StrictObjectSchema<{
702
+ readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
703
+ readonly name: v.StringSchema<undefined>;
704
+ readonly state: v.PicklistSchema<["block", "report"], undefined>;
705
+ readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
706
+ }, undefined>;
697
707
  /**
698
708
  * Details about the evaluation of a single rule, including whether it matched, the action to take, the rule name, and optional debugging information.
699
709
  */
@@ -778,15 +788,6 @@ declare const DetectorSettingsSchema: v.ArraySchema<v.StrictObjectSchema<{
778
788
  }, undefined>, undefined>, undefined>;
779
789
  }, undefined>;
780
790
  }, undefined>, undefined>;
781
- /**
782
- * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
783
- */
784
- declare const AccessRuleSettingsSchema: v.StrictObjectSchema<{
785
- readonly rule_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
786
- readonly name: v.StringSchema<undefined>;
787
- readonly state: v.PicklistSchema<["block", "report"], undefined>;
788
- readonly logic: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
789
- }, undefined>;
790
791
  declare const AidrPolicySchema: v.StrictObjectSchema<{
791
792
  readonly key: v.StringSchema<undefined>;
792
793
  readonly name: v.StringSchema<undefined>;
@@ -1036,21 +1037,6 @@ declare const RecipeConfigSchema: v.StrictObjectSchema<{
1036
1037
  declare const AidrPolicyDefaultsSchema: v.ObjectSchema<{
1037
1038
  readonly default_policies: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1038
1039
  }, undefined>;
1039
- declare const LanguageResultSchema: v.ObjectSchema<{
1040
- readonly action: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1041
- readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1042
- }, undefined>;
1043
- declare const RedactEntityResultSchema: v.ObjectSchema<{
1044
- readonly entities: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1045
- readonly action: v.StringSchema<undefined>;
1046
- readonly type: v.StringSchema<undefined>;
1047
- readonly value: v.StringSchema<undefined>;
1048
- readonly redacted: v.BooleanSchema<undefined>;
1049
- readonly start_pos: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1050
- }, undefined>, undefined>, undefined>;
1051
- }, undefined>;
1052
- declare const MaliciousEntityActionSchema: v.PicklistSchema<["report", "defang", "disabled", "block"], undefined>;
1053
- declare const PiiEntityActionSchema: v.PicklistSchema<["disabled", "report", "block", "mask", "partial_masking", "replacement", "hash", "fpe"], undefined>;
1054
1040
  declare const AidrOtelResourceLogsSchema: v.GenericSchema;
1055
1041
  declare const AidrOtelResourceSchema: v.GenericSchema;
1056
1042
  declare const AidrOtelScopeLogsSchema: v.GenericSchema;
@@ -1074,7 +1060,7 @@ declare const AidrPostV1GuardChatCompletionsRequestSchema: v.ObjectSchema<{
1074
1060
  readonly source_ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1075
1061
  readonly source_location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1076
1062
  readonly tenant_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
- readonly event_type: v.OptionalSchema<v.PicklistSchema<["input", "output", "tool_input", "tool_output", "tool_listing"], undefined>, undefined>;
1063
+ readonly event_type: v.OptionalSchema<v.StringSchema<undefined>, "input">;
1078
1064
  readonly collector_instance_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1079
1065
  readonly extra_info: v.OptionalSchema<v.ObjectWithRestSchema<{
1080
1066
  readonly app_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1089,14 +1075,12 @@ declare const AidrPostV1GuardChatCompletionsRequestSchema: v.ObjectSchema<{
1089
1075
  readonly tools: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1090
1076
  }, undefined>, undefined>, undefined>;
1091
1077
  }, v.UnknownSchema, undefined>, undefined>;
1078
+ readonly input_fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1092
1079
  }, undefined>, undefined>;
1093
1080
  readonly path: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1094
1081
  readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1095
1082
  }, undefined>;
1096
- /**
1097
- * No description provided
1098
- */
1099
- declare const AidrPostV1GuardChatCompletionsResponseSchema: v.IntersectSchema<[v.ObjectSchema<{
1083
+ declare const AidrPostV1GuardChatCompletionsResponseSchema: v.UnionSchema<[v.IntersectSchema<[v.ObjectSchema<{
1100
1084
  readonly request_id: v.StringSchema<undefined>;
1101
1085
  readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1102
1086
  readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
@@ -1199,7 +1183,55 @@ declare const AidrPostV1GuardChatCompletionsResponseSchema: v.IntersectSchema<[v
1199
1183
  readonly access_rules: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1200
1184
  readonly fpe_context: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1201
1185
  }, undefined>, undefined>;
1202
- }, undefined>], undefined>;
1186
+ }, undefined>], undefined>, v.IntersectSchema<[v.ObjectSchema<{
1187
+ readonly request_id: v.StringSchema<undefined>;
1188
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1189
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1190
+ readonly status: v.StringSchema<undefined>;
1191
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1192
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1193
+ }, undefined>, v.ObjectSchema<{
1194
+ readonly request_id: v.StringSchema<undefined>;
1195
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1196
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1197
+ readonly status: v.StringSchema<undefined>;
1198
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1199
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1200
+ }, undefined>], undefined>], undefined>;
1201
+ declare const AidrPostV1UnredactRequestSchema: v.ObjectSchema<{
1202
+ readonly body: v.OptionalSchema<v.StrictObjectSchema<{
1203
+ readonly redacted_data: v.UnknownSchema;
1204
+ readonly fpe_context: v.StringSchema<undefined>;
1205
+ }, undefined>, undefined>;
1206
+ readonly path: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1207
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1208
+ }, undefined>;
1209
+ declare const AidrPostV1UnredactResponseSchema: v.UnionSchema<[v.IntersectSchema<[v.ObjectSchema<{
1210
+ readonly request_id: v.StringSchema<undefined>;
1211
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1212
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1213
+ readonly status: v.StringSchema<undefined>;
1214
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1215
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1216
+ }, undefined>, v.ObjectSchema<{
1217
+ readonly result: v.OptionalSchema<v.ObjectSchema<{
1218
+ readonly data: v.UnknownSchema;
1219
+ }, undefined>, undefined>;
1220
+ }, undefined>], undefined>, v.IntersectSchema<[v.ObjectSchema<{
1221
+ readonly request_id: v.StringSchema<undefined>;
1222
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1223
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1224
+ readonly status: v.StringSchema<undefined>;
1225
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1226
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1227
+ }, undefined>, v.ObjectSchema<{
1228
+ readonly request_id: v.StringSchema<undefined>;
1229
+ readonly request_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1230
+ readonly response_time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
1231
+ readonly status: v.StringSchema<undefined>;
1232
+ readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1233
+ readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1234
+ }, undefined>], undefined>], undefined>;
1203
1235
  declare const GetAsyncRequestRequestSchema: v.ObjectSchema<{
1204
1236
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
1205
1237
  readonly path: v.ObjectSchema<{
@@ -1222,11 +1254,12 @@ declare const GetAsyncRequestResponseSchema: v.UnionSchema<[v.ObjectSchema<{
1222
1254
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1223
1255
  readonly result: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1224
1256
  }, undefined>, v.ObjectSchema<{
1225
- readonly result: v.OptionalSchema<v.ObjectSchema<{
1257
+ readonly result: v.ObjectSchema<{
1226
1258
  readonly ttl_mins: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1227
1259
  readonly retry_counter: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
1228
1260
  readonly location: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1229
- }, undefined>, undefined>;
1261
+ }, undefined>;
1262
+ readonly status: v.PicklistSchema<["Accepted"], undefined>;
1230
1263
  }, undefined>], undefined>], undefined>;
1231
1264
  //#endregion
1232
- export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, AirdTimestampNullableSchema, AuthnTimestampSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, LanguageResultSchema, MaliciousEntityActionSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PiiEntityActionSchema, PolicyIdSchema, RecipeConfigSchema, RedactEntityResultSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
1265
+ export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPostV1UnredactRequestSchema, AidrPostV1UnredactResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, PangeaAcceptedResponseSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PolicyIdSchema, RecipeConfigSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
@@ -15,6 +15,7 @@ const PangeaResponseSchema = v.object({
15
15
  result: v.optional(v.record(v.string(), v.unknown()))
16
16
  });
17
17
  const PangeaValidationErrorsSchema = PangeaResponseSchema;
18
+ const PangeaAcceptedResponseSchema = PangeaResponseSchema;
18
19
  /**
19
20
  * Device status. Allowed values are active, pending, disabled
20
21
  */
@@ -205,13 +206,7 @@ const ChatCompletionsGuardSchema = v.strictObject({
205
206
  source_ip: v.optional(v.string()),
206
207
  source_location: v.optional(v.string()),
207
208
  tenant_id: v.optional(v.string()),
208
- event_type: v.optional(v.picklist([
209
- "input",
210
- "output",
211
- "tool_input",
212
- "tool_output",
213
- "tool_listing"
214
- ])),
209
+ event_type: v.optional(v.string(), "input"),
215
210
  collector_instance_id: v.optional(v.string()),
216
211
  extra_info: v.optional(v.objectWithRest({
217
212
  app_name: v.optional(v.string()),
@@ -225,7 +220,8 @@ const ChatCompletionsGuardSchema = v.strictObject({
225
220
  server_name: v.pipe(v.string(), v.minLength(1)),
226
221
  tools: v.pipe(v.array(v.pipe(v.string(), v.minLength(1))), v.minLength(1))
227
222
  })))
228
- }, v.unknown()))
223
+ }, v.unknown())),
224
+ input_fpe_context: v.optional(v.string())
229
225
  });
230
226
  const AidrPromptInjectionResultSchema = v.object({
231
227
  action: v.optional(v.string()),
@@ -591,7 +587,7 @@ const AidrMetricSchema = v.strictObject({
591
587
  tag_filters: v.optional(v.strictObject({})),
592
588
  detector_filters: v.optional(v.strictObject({})),
593
589
  group_by: v.optional(v.array(v.pipe(v.string(), v.regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/)))),
594
- order_by: v.optional(v.string()),
590
+ order_by: v.optional(v.pipe(v.string(), v.regex(/^[A-Za-z_][A-Za-z0-9_.]{0,63}$/))),
595
591
  order: v.optional(v.picklist(["asc", "desc"])),
596
592
  limit: v.optional(v.pipe(v.number(), v.integer())),
597
593
  offset: v.optional(v.pipe(v.number(), v.integer()))
@@ -614,7 +610,7 @@ const AidrMetricAggregatesSearchParamsSchema = v.strictObject({
614
610
  detector_filters: v.optional(v.strictObject({})),
615
611
  tag_filters: v.optional(v.strictObject({})),
616
612
  group_by: v.optional(v.array(v.pipe(v.string(), v.regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/)))),
617
- order_by: v.optional(v.string()),
613
+ order_by: v.optional(v.pipe(v.string(), v.regex(/^[A-Za-z_][A-Za-z0-9_.]{0,63}$/))),
618
614
  order: v.optional(v.picklist(["asc", "desc"])),
619
615
  limit: v.optional(v.pipe(v.number(), v.integer())),
620
616
  offset: v.optional(v.pipe(v.number(), v.integer()))
@@ -643,13 +639,14 @@ const AidrMetricItemSchema = v.array(v.object({
643
639
  */
644
640
  const AidrMetricResultSchema = v.object({ items: v.optional(v.array(AidrMetricItemSchema)) });
645
641
  /**
646
- * A time in ISO-8601 format
647
- */
648
- const AuthnTimestampSchema = v.pipe(v.string(), v.isoTimestamp());
649
- /**
650
- * A time in ISO-8601 format or null
642
+ * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
651
643
  */
652
- const AirdTimestampNullableSchema = v.union([AuthnTimestampSchema, v.null()]);
644
+ const AccessRuleSettingsSchema = v.strictObject({
645
+ rule_key: v.pipe(v.string(), v.regex(/^([a-zA-Z0-9_][a-zA-Z0-9/|_]*)$/)),
646
+ name: v.string(),
647
+ state: v.picklist(["block", "report"]),
648
+ logic: v.record(v.string(), v.unknown())
649
+ });
653
650
  /**
654
651
  * Details about the evaluation of a single rule, including whether it matched, the action to take, the rule name, and optional debugging information.
655
652
  */
@@ -716,15 +713,6 @@ const DetectorSettingsSchema = v.array(v.strictObject({
716
713
  transform_if_malicious: v.optional(v.boolean())
717
714
  }))) })
718
715
  }));
719
- /**
720
- * Configuration for an individual access rule used in an AI Guard recipe. Each rule defines its matching logic and the action to apply when the logic evaluates to true.
721
- */
722
- const AccessRuleSettingsSchema = v.strictObject({
723
- rule_key: v.pipe(v.string(), v.regex(/^([a-zA-Z0-9_][a-zA-Z0-9/|_]*)$/)),
724
- name: v.string(),
725
- state: v.picklist(["block", "report"]),
726
- logic: v.record(v.string(), v.unknown())
727
- });
728
716
  const AidrPolicySchema = v.strictObject({
729
717
  key: v.string(),
730
718
  name: v.string(),
@@ -768,33 +756,6 @@ const RecipeConfigSchema = v.strictObject({
768
756
  connector_settings: v.optional(v.object({ redact: v.optional(v.object({ fpe_tweak_vault_secret_id: v.optional(v.string()) })) }))
769
757
  });
770
758
  const AidrPolicyDefaultsSchema = v.object({ default_policies: v.record(v.string(), v.unknown()) });
771
- const LanguageResultSchema = v.object({
772
- action: v.optional(v.string()),
773
- language: v.optional(v.string())
774
- });
775
- const RedactEntityResultSchema = v.object({ entities: v.optional(v.array(v.object({
776
- action: v.string(),
777
- type: v.string(),
778
- value: v.string(),
779
- redacted: v.boolean(),
780
- start_pos: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0)))
781
- }))) });
782
- const MaliciousEntityActionSchema = v.picklist([
783
- "report",
784
- "defang",
785
- "disabled",
786
- "block"
787
- ]);
788
- const PiiEntityActionSchema = v.picklist([
789
- "disabled",
790
- "report",
791
- "block",
792
- "mask",
793
- "partial_masking",
794
- "replacement",
795
- "hash",
796
- "fpe"
797
- ]);
798
759
  const AidrOtelResourceLogsSchema = v.objectWithRest({
799
760
  resource: v.optional(v.lazy(() => AidrOtelResourceSchema)),
800
761
  scopeLogs: v.array(v.lazy(() => AidrOtelScopeLogsSchema))
@@ -843,10 +804,7 @@ const AidrPostV1GuardChatCompletionsRequestSchema = v.object({
843
804
  path: v.optional(v.never()),
844
805
  query: v.optional(v.never())
845
806
  });
846
- /**
847
- * No description provided
848
- */
849
- const AidrPostV1GuardChatCompletionsResponseSchema = v.intersect([PangeaResponseSchema, v.object({ result: v.optional(v.object({
807
+ const AidrPostV1GuardChatCompletionsResponseSchema = v.union([v.intersect([PangeaResponseSchema, v.object({ result: v.optional(v.object({
850
808
  guard_output: v.optional(v.record(v.string(), v.unknown())),
851
809
  blocked: v.optional(v.boolean()),
852
810
  transformed: v.optional(v.boolean()),
@@ -891,17 +849,29 @@ const AidrPostV1GuardChatCompletionsResponseSchema = v.intersect([PangeaResponse
891
849
  }),
892
850
  access_rules: v.optional(AidrAccessRulesResponseSchema),
893
851
  fpe_context: v.optional(v.string())
894
- })) })]);
852
+ })) })]), v.intersect([PangeaResponseSchema, PangeaAcceptedResponseSchema])]);
853
+ const AidrPostV1UnredactRequestSchema = v.object({
854
+ body: v.optional(v.strictObject({
855
+ redacted_data: v.unknown(),
856
+ fpe_context: v.string()
857
+ })),
858
+ path: v.optional(v.never()),
859
+ query: v.optional(v.never())
860
+ });
861
+ const AidrPostV1UnredactResponseSchema = v.union([v.intersect([PangeaResponseSchema, v.object({ result: v.optional(v.object({ data: v.unknown() })) })]), v.intersect([PangeaResponseSchema, PangeaAcceptedResponseSchema])]);
895
862
  const GetAsyncRequestRequestSchema = v.object({
896
863
  body: v.optional(v.never()),
897
864
  path: v.object({ requestId: v.string() }),
898
865
  query: v.optional(v.never())
899
866
  });
900
- const GetAsyncRequestResponseSchema = v.union([PangeaResponseSchema, v.intersect([PangeaResponseSchema, v.object({ result: v.optional(v.object({
901
- ttl_mins: v.optional(v.pipe(v.number(), v.integer())),
902
- retry_counter: v.optional(v.pipe(v.number(), v.integer())),
903
- location: v.optional(v.string())
904
- })) })])]);
867
+ const GetAsyncRequestResponseSchema = v.union([PangeaResponseSchema, v.intersect([PangeaResponseSchema, v.object({
868
+ result: v.object({
869
+ ttl_mins: v.optional(v.pipe(v.number(), v.integer())),
870
+ retry_counter: v.optional(v.pipe(v.number(), v.integer())),
871
+ location: v.optional(v.string())
872
+ }),
873
+ status: v.picklist(["Accepted"])
874
+ })])]);
905
875
 
906
876
  //#endregion
907
- export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, AirdTimestampNullableSchema, AuthnTimestampSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, LanguageResultSchema, MaliciousEntityActionSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PiiEntityActionSchema, PolicyIdSchema, RecipeConfigSchema, RedactEntityResultSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
877
+ export { AccessRuleResultSchema, AccessRuleSettingsSchema, AidrAccessRulesResponseSchema, AidrAuditDataActivitySchema, AidrCustomlistResultSchema, AidrCustomlistSchema, AidrCustomlistSearchResultSchema, AidrCustomlistSearchSchema, AidrDeviceCheckResultSchema, AidrDeviceIdSchema, AidrDeviceResultSchema, AidrDeviceSchema, AidrDeviceSearchResultSchema, AidrDeviceSearchSchema, AidrDeviceStatusSchema, AidrDeviceTokenInfoSchema, AidrEmptySchema, AidrFieldAliasResultSchema, AidrFieldAliasSchema, AidrFieldAliasSearchResultSchema, AidrFieldAliasSearchSchema, AidrGolangDurationSchema, AidrIpv4OrV6Schema, AidrLanguageResultSchema, AidrLogSchema, AidrLogsSchema, AidrMaliciousEntityResultSchema, AidrMetricAggregateItemSchema, AidrMetricAggregatesResultSchema, AidrMetricAggregatesSearchParamsSchema, AidrMetricItemSchema, AidrMetricOnlyDataSchema, AidrMetricResultDetectorItemSchema, AidrMetricResultSchema, AidrMetricSchema, AidrMetricpoolIdSchema, AidrMetricpoolResourceSchema, AidrOtelAnyValueSchema, AidrOtelArrayValueSchema, AidrOtelInstrumentationScopeSchema, AidrOtelKeyValueListSchema, AidrOtelKeyValueSchema, AidrOtelLogRecordSchema, AidrOtelResourceLogsSchema, AidrOtelResourceSchema, AidrOtelScopeLogsSchema, AidrPolicyDefaultsSchema, AidrPolicyResultSchema, AidrPolicySchema, AidrPolicySearchResultSchema, AidrPolicySearchSchema, AidrPolicycollectionResultSchema, AidrPolicycollectionSearchResultSchema, AidrPolicycollectionSearchSchema, AidrPostV1GuardChatCompletionsRequestSchema, AidrPostV1GuardChatCompletionsResponseSchema, AidrPostV1UnredactRequestSchema, AidrPostV1UnredactResponseSchema, AidrPromptInjectionResultSchema, AidrPromptItemListResultSchema, AidrPromptItemSchema, AidrRedactEntityResultSchema, AidrResourceFieldMappingSchema, AidrSavedFilterResultSchema, AidrSavedFilterSchema, AidrSavedFilterSearchResultSchema, AidrSavedFilterSearchSchema, AidrSensorHealthSchema, AidrSensorInsightsItemSchema, AidrSensorInsightsResultSchema, AidrSensorInsightsSchema, AidrServiceConfigListSchema, AidrServiceConfigResultSchema, AidrServiceConfigSchema, AidrSingleEntityResultSchema, AidrTimestampSchema, AidrTopicResultSchema, ChatCompletionsGuardSchema, DetectorSettingsSchema, FilterIdSchema, GetAsyncRequestRequestSchema, GetAsyncRequestResponseSchema, PangeaAcceptedResponseSchema, PangeaResponseSchema, PangeaValidationErrorsSchema, PolicyIdSchema, RecipeConfigSchema, RuleRedactionConfigSchema, ServiceConfigIdSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdstrike/aidr",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "TypeScript SDK for CrowdStrike AIDR",
5
5
  "license": "MIT",
6
6
  "repository": {