When deployed on Splunk Cloud or Splunk on-premises, the add-on fails to consume events from bitwarden.eu (European) cloud instance.
Cause
The configuration generator package/appserver/static/javascript/views/setup_page.js determine if a server is a cloud instance by looking for an exact match for https://bitwarden.com, and ignore actual server host when generating the configuration:
Problem
When deployed on Splunk Cloud or Splunk on-premises, the add-on fails to consume events from
bitwarden.eu
(European) cloud instance.Cause
The configuration generator
package/appserver/static/javascript/views/setup_page.js
determine if a server is a cloud instance by looking for an exact match forhttps://bitwarden.com
, and ignore actual server host when generating the configuration:Temporary solution
Manually patch the generated configuration file
${SPLUNK_HOME}/etc/apps/bitwarden_event_logs/local/script.conf
from:To:
I confirm I am collecting Bitwarden events as excepted after applying this patch.
Proper solution
Patch the configuration generator
package/appserver/static/javascript/views/setup_page.js
as follow:URL
objectbitwarden.eu
)host
value when templating the configuration