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

Sanitize report's inputs and usernames #4329

Closed
gdiazlo opened this issue Jul 14, 2022 · 0 comments · Fixed by #4330, #4331 or #4332
Closed

Sanitize report's inputs and usernames #4329

gdiazlo opened this issue Jul 14, 2022 · 0 comments · Fixed by #4330, #4331 or #4332
Labels
type/bug Bug issue

Comments

@gdiazlo
Copy link
Member

gdiazlo commented Jul 14, 2022

Wazuh Elastic Rev Security
3.13.X, 4.2.X, 4.3.X 4.x - - -

Description
To prevent collisions, we want to sanitize report's inputs and usernames. We will change usernames by their hashes to prevent the appearance of UTF-8 characters on filesystems.

We also want to improve the report's name generation and centralize it in the backend.

Expected Result

The report's folder would become:

$WAZUH_APP_HOME/downloads/reports/username_hash/

Additional context

The application will need to update automatically an existing deployment by migrating the old folders to the new naming schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
No open projects
Status: Done
2 participants