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

CSV Files not generated correctly #35

Closed
juaromu opened this issue Oct 28, 2021 · 3 comments
Closed

CSV Files not generated correctly #35

juaromu opened this issue Oct 28, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@juaromu
Copy link

juaromu commented Oct 28, 2021

When \r present in columns, the CSV files generate additional lines and not formatted correctly:

system_time,id,detection_rules,computer_name,Event.EventData.TargetFilename,image
2021-10-26 05:58:04,11,"+ Suspicious xxxx
File Created In TMP","""xxxx""",xxxx,xxxx
2021-10-26 06:55:36,11,"+ Suspicious xxxx
File Created In TMP","""xxxx""",xxxx,xxxx

This is normally the case for the column "Detection Rules".
Would it be possible to remove that \r or generate that column in a different way so that the CSVs will be created correctly?

@alexkornitzer
Copy link
Collaborator

Yeah this is on the list. The formatting done to present in the cli is not stripped on csv output. This is a bug.

@alexkornitzer alexkornitzer added the bug Something isn't working label Nov 1, 2021
@juaromu
Copy link
Author

juaromu commented Nov 1, 2021

Thank you

@alexkornitzer
Copy link
Collaborator

I think I have fixed this in 2.0.0-alpha.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants