-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Describe the bug
When using the data connector, in the deployment step, the last step is to deploy the agent : Deploy the agent by running the following command in your VM:
wget -O sapcon-sentinel-ui-agent-kickstart.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-sentinel-ui-agent-kickstart.sh && bash ./sapcon-sentinel-ui-agent-kickstart.sh --guid (GUID) --keymode kvmi --kvaultname Test_KV--sdk "(SAPSDKFILE)" --agent-name ASSAP-01-AZ --ui-agent
--kvaultname will create the path for the URI path as https://Test-KV.vault.azure.net in the docker file.
But due to domain validation the FQDN must be all in lower letter, it must be https://test-kv.vault.azure.net copying the wget with the uppercase will break the installation.
It will cause the error "The challenge resource 'vault.azure.net' does not match the requested domain. Pass verify_challenge_resource=False to your client's constructor to disable this verification. See https://aka.ms/azsdk/blog/vault-uri for more information." when trying to start the container.
The provided agent deployment command in the connector need to be updated to force lowercase only. If the keyvault has uppercase, this will break the deployment.