Open savvy1337 opened 3 months ago
Hello @savvy1337. Thanks for your comments. If I understand correctly, you are configuring the env CONNECTOR_ID variable with the previously created USER_ID? There is no link between the CONNECTOR and the dedicated user apart from configuring the CONNECTOR to use the TOKEN_ID of your dedicated user. The connector_ID value must be a different, unique generic UUID value. It is only used to uniquely identify a connector instance. Can you replace the CONNECTOR_ID with a newly generated UUID value and try again? You may also need to delete the connector graphically before configuring a new CONNECTOR_ID.
But I can confirm that this is causing an unexpected behavior. We will investigate.
You are describing my error. I was using the uuid of the created user as the CONNECTOR_ID which is obviously wrong, my bad.
Using a custom generated uuid using uuidgen works and the user is still there. Nevertheless if the uuid for some reason of a existing user matches the CONNECTOR_ID then the things described at the top happen.
Reopening it to continue behavioral investigation
Description
Following the usual procedure to create a user for example called [C] mitre. Then starting the mitre connector yields the result of the "[C] mitre" user vanishing from the User dashboard for some reason. I also checked the elasticsearch index and the user even vanishes from there. The connector seems to work though. I remember it wasn't like this in previous version.
Or is this intended behaviour?
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
User stays in UI and Elasticsearch
Actual Output
User vanished