Mitigation storage fails when mongo not on localhost #1157
Labels
Bug
An error, flaw, misbehavior or failure in the Monkey or Monkey Island.
Complexity: Medium
Impact: Low
MITRE ATT&CK
Describe the bug
If custom mongodb location is provided, monkey island fails to create attack mitigation database collection with the following error:
Looks like the code there is trying to connect to
localhost:27017
even though the environment flag is not localhostMONKEY_MONGO_URL=mongodb://172.26.32.1:27017/monkeyisland
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Monkey shouldn't fail on mitigation creation.
Machine version (please complete the following information):
The text was updated successfully, but these errors were encountered: