diff --git a/x-pack/plugins/ingest_manager/common/types/models/datasource.ts b/x-pack/plugins/ingest_manager/common/types/models/datasource.ts index 3ad7a15d0c739..c6a2e0252492b 100644 --- a/x-pack/plugins/ingest_manager/common/types/models/datasource.ts +++ b/x-pack/plugins/ingest_manager/common/types/models/datasource.ts @@ -19,7 +19,7 @@ export interface DatasourceInputStream { string, { type?: string; - value: any; + value?: any; } >; } diff --git a/x-pack/plugins/ingest_manager/server/types/models/datasource.ts b/x-pack/plugins/ingest_manager/server/types/models/datasource.ts index 51687016f6aad..933453e0a5b36 100644 --- a/x-pack/plugins/ingest_manager/server/types/models/datasource.ts +++ b/x-pack/plugins/ingest_manager/server/types/models/datasource.ts @@ -35,7 +35,7 @@ const DatasourceBaseSchema = { schema.string(), schema.object({ type: schema.maybe(schema.string()), - value: schema.any(), + value: schema.maybe(schema.any()), }) ), })