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

Timesketch exporter: Handle sketch names > 230 characters #828

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

jkppr
Copy link
Collaborator

@jkppr jkppr commented Jan 25, 2024

Timesketch has a character limit for sketch names of 255. (Database limitation)

This PR introduces a check for the incident_id length and will truncate it so that the final sketch_name will be max 255 characters.
Since this logic changes the user provided incident_id, it also logs a warning to let the user know about the change.

@jkppr jkppr added the bug label Jan 25, 2024
@jkppr jkppr requested a review from tomchop January 25, 2024 17:06
@jkppr jkppr self-assigned this Jan 25, 2024
@tomchop tomchop changed the title Timesketch exporter: Handle sketch names > 255 characters Timesketch exporter: Handle sketch names > 230 characters Jan 29, 2024
@tomchop tomchop merged commit 3e648fb into log2timeline:main Jan 29, 2024
9 checks passed
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 this pull request may close these issues.

2 participants