-
Notifications
You must be signed in to change notification settings - Fork 534
Description
Description
Hey all, I'm getting some pydantic errors when trying to pull data from a 3rd party MISP. It isn't my MISP, so I have no details on the version it is etc.. By the looks of things though, the connector is receiving integers, when it is expecting strings. Can you confirm it was tested at your end, do I need to ask the vendor to upgrade their MISP? Is this user error (me)?
Environment
OpenCTI 6.8.6
MISP connector: rolling
Actual Output
Exception has occurred: ValidationError
1046 validation errors for EventRestSearchListItem
Event.id
Input should be a valid string [type=string_type, input_value=27997, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.org_id
Input should be a valid string [type=string_type, input_value=1, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.distribution
Input should be '0', '1', '2', '3', '4' or '5' [type=enum, input_value=1, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/enum
Event.orgc_id
Input should be a valid string [type=string_type, input_value=61, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.analysis
Input should be '0', '1' or '2' [type=enum, input_value=1, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/enum
Event.attribute_count
Input should be a valid string [type=string_type, input_value=172, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.timestamp
Input should be a valid string [type=string_type, input_value=1761084689, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.sharing_group_id
Input should be a valid string [type=string_type, input_value=0, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.threat_level_id
Input should be '1', '2', '3' or '4' [type=enum, input_value=3, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/enum
Event.publish_timestamp
Input should be a valid string [type=string_type, input_value=1761076889, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.Org.id
Input should be a valid string [type=string_type, input_value=1, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
Event.Orgc.id
Input should be a valid string [type=string_type, input_value=61, input_type=int]
For further information visit https://errors.pydantic.dev/2.11/v/string_type
....