diff --git a/x-pack/plugins/integration_assistant/common/api/model/common_attributes.gen.ts b/x-pack/plugins/integration_assistant/common/api/model/common_attributes.gen.ts index 59fe7d461698f..49e6f12691429 100644 --- a/x-pack/plugins/integration_assistant/common/api/model/common_attributes.gen.ts +++ b/x-pack/plugins/integration_assistant/common/api/model/common_attributes.gen.ts @@ -46,7 +46,7 @@ export const RawSamples = z.array(z.string()); * mapping object to ECS Mapping Request. */ export type Mapping = z.infer; -export const Mapping = z.object({}).passthrough(); +export const Mapping = z.object({}).catchall(z.unknown()); /** * LLM Connector to be used in each API request. @@ -58,7 +58,7 @@ export const Connector = z.string(); * An array of processed documents. */ export type Docs = z.infer; -export const Docs = z.array(z.object({}).passthrough()); +export const Docs = z.array(z.object({}).catchall(z.unknown())); /** * The name of the log samples format. diff --git a/x-pack/plugins/integration_assistant/common/api/model/common_attributes.schema.yaml b/x-pack/plugins/integration_assistant/common/api/model/common_attributes.schema.yaml index 0af01834970c7..073b485b1cb3d 100644 --- a/x-pack/plugins/integration_assistant/common/api/model/common_attributes.schema.yaml +++ b/x-pack/plugins/integration_assistant/common/api/model/common_attributes.schema.yaml @@ -31,6 +31,7 @@ components: Mapping: type: object description: mapping object to ECS Mapping Request. + additionalProperties: true Connector: type: string @@ -41,6 +42,7 @@ components: description: An array of processed documents. items: type: object + additionalProperties: true SamplesFormatName: type: string