XR - Extreme Rules
chmod o+r xr_linux.tar
Extreme Rules
Use the following configuration values for the App Setup Page
Data Store Configuration: Stand Alone
Mongo Host: 127.0.0.1
Mongo Port: 27020
Password: Create a password and store in XDR Vault for records
UNCHECK: Create Indexes as these were made by XDR Engineering during Installation above
Once the App Setup actions commplete create the following directory on the Splunk Search Head as the splunk system user
mkdir /opt/splunk/etc/apps/SCM-Framework/scm/exports
Content Team has to export the "live" Context and Models from XR on Caasp
This can manually be done from inside Splunk like the following. Keep in there may be more rule packages to process.
| xmExportRules RULE_PACKAGE XDRAuthFailureAbusiveSrc VERSION 2 APPLICATION XR
| xmExportRules RULE_PACKAGE XDRXRSignalASNVolume VERSION 2 APPLICATION XR
However XR app packs are built with scheduled jobs to backup the file from the local SH mongo nightly to local disk.
Example: DA-ESS-AFS-XDR-XR-AuthenticationSecurity
Searches: XDR - XR XDRAuthFailureAbusiveSrc - Backup
and XDR - XR XDRXRSignalASNVolume - Backup
Copy the files into place as the Splunk user
Once SCP to the SH make sure Splunk can read them
chmod o+r *.json
mv *.json /tmp
sudo -iu splunk
cp /tmp/*.json /opt/splunk/etc/apps/SCM-Framework/scm/exports/
Import the rule packages from the json files into the XR app in Splunk. This populates Mongo.
| xmImportRules APPLICATION XR VERSION 2 FILE /opt/splunk/etc/apps/SCM-Framework/scm/exports/XDRAuthFailureAbusiveSrc_rule-export.json REPLACE true
| xmImportRules APPLICATION XR VERSION 2 FILE /opt/splunk/etc/apps/SCM-Framework/scm/exports/XDRXRSignalASNVolume_rule-export.json REPLACE true
Now the system is ready for XR content to be enabled.