Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Client] Update search module to support millisecond dates #2869

Closed
sydp opened this issue Aug 15, 2023 · 0 comments · Fixed by #2867
Closed

[API Client] Update search module to support millisecond dates #2869

sydp opened this issue Aug 15, 2023 · 0 comments · Fixed by #2867
Assignees
Labels

Comments

@sydp
Copy link
Collaborator

sydp commented Aug 15, 2023

Describe the bug
The new UI now allows date chips with millisecond precision. The API client needs to be updated to support these values.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a sketch
  2. Create a saved search with sub-second precision
  3. Save the search
  4. Use the timesketch CLI as follows timesketch --sketch <sketch_id> saved-searches describe <saved-search-id>. This will raise a ValueError that "Microsecond dates are not currently supported".

Expected behavior
The timesketch CLI does not produce an error and lists the saved search information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant