You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can set invalid date/time values using pycti module in a python program, but then we cannot read or modify this value because an error is raised when accessing it
Environment
OS: Ubuntu 22.04 LTS
OpenCTI version: 6.6.6
OpenCTI client: python
Reproducible Steps
Execute this code:
# 5ad3865a-abd0-4f51-b4b4-e8a12a8481dd is the id of an existing intrusion_set
api_client.stix_domain_object.update_field(
id="5ad3865a-abd0-4f51-b4b4-e8a12a8481dd", input={"key": "first_seen", "value": "2025-04-30"}
)
(!) An unknown error occurred. Please provide a [support package](https://opencti-cti.gfor.ses-op/dashboard/settings/support) to your administrator or OpenCTI maintainers
Expected Output
I expect that "stix_domain_object.update_field" function does not allow to set bad date / time values or that internal checks within openCTI code do not allow to assign invalid date / time values
Actual Output
An invalid date/ time value is stored and an error occurs when trying to read this wrong value
Additional information
Screenshots (optional)
The text was updated successfully, but these errors were encountered:
Description
We can set invalid date/time values using pycti module in a python program, but then we cannot read or modify this value because an error is raised when accessing it
Environment
Reproducible Steps
the following error appears:
Expected Output
I expect that "stix_domain_object.update_field" function does not allow to set bad date / time values or that internal checks within openCTI code do not allow to assign invalid date / time values
Actual Output
An invalid date/ time value is stored and an error occurs when trying to read this wrong value
Additional information
Screenshots (optional)
The text was updated successfully, but these errors were encountered: