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

Update Elasticsearch analyzer with unix format #1023

Conversation

ajrios33
Copy link
Contributor

It appears that elk.py is in DOS format and is causing issues when we import and try to run the analyzer:

bash: ./elk.py: /usr/bin/env python3^M: bad interpreter: No such file or directory

We have resolved this issue by doing the following:
vim elk.py and :set ff=unix

Since we are copying the analyzers from this repo, the analyzer gets reverted on restart.

@nicpenning
Copy link
Contributor

Yeah we noticed that happened when we're moving the code around from our Windows systems :) Somehow we still managed to push out the DOS code by accident. This is a great PR. Thank you!

@jiribartusek-ls
Copy link

@nadouani is it ready for merge? Sorry for pinging/bothering you, but I am afraid I am new here and still not sure who maintains this... :)

@jeromeleonard jeromeleonard changed the base branch from master to develop December 14, 2023 06:31
@jeromeleonard jeromeleonard added this to the 3.3.3 milestone Dec 27, 2023
@jeromeleonard jeromeleonard self-assigned this Dec 27, 2023
@jeromeleonard jeromeleonard self-requested a review December 27, 2023 06:23
@jeromeleonard jeromeleonard merged commit 2301840 into TheHive-Project:develop Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants