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

Deprecated method in VulntoES.py #16

Open
daffi1238 opened this issue Dec 14, 2021 · 1 comment
Open

Deprecated method in VulntoES.py #16

daffi1238 opened this issue Dec 14, 2021 · 1 comment

Comments

@daffi1238
Copy link

In the line 90
self.es.index(index=self.index_name, body=json.dumps(to_upload))

from the ingestor logs return some error related with the deprecation of the index body used. Apparently I was able to solve this problem changing body for document index
self.es.index(index=self.index_name, document=json.dumps(to_upload))

By the way I still wasn't able to run correctly this docker-compose but I wanted to log this problem I found.

@amefonaffia
Copy link

A workaround without having to change line 90 can be to modify the ingestor requirements.txt file so that it downgrades elasticsearch
elasticsearch<7.13.0

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

No branches or pull requests

2 participants