diff --git a/packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts b/packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts index bb6ae55c0f037..a3086fdc4a70a 100644 --- a/packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts +++ b/packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts @@ -20,6 +20,7 @@ import { description } from '../../common/description'; import { name } from '../../common/name'; import { _version } from '../../common/underscore_version'; import { id } from '../../common/id'; +import { item_id } from '../../common/item_id'; import { meta } from '../../common/meta'; import { namespace_type } from '../../common/namespace_type'; import { ExpireTimeOrUndefined, expireTimeOrUndefined } from '../../common'; @@ -39,7 +40,7 @@ export const updateExceptionListItemSchema = t.intersection([ comments: DefaultUpdateCommentsArray, // defaults to empty array if not set during decode expire_time: expireTimeOrUndefined, id, // defaults to undefined if not set during decode - item_id: t.union([t.string, t.undefined]), + item_id, meta, // defaults to undefined if not set during decode namespace_type, // defaults to 'single' if not set during decode os_types: osTypeArrayOrUndefined, // defaults to empty array if not set during decode