To add a customer-facing search head (including one for qmulos or qcontrol):
Notes: Okta also has configuration for Federated Users under:
Use our script to create the app in okta
cd ~/msoc-infrastructure/tools/okta_app_maker
OKTA_API_TOKEN=blah ./okta_app_maker.py 'FRTIB Splunk Customer SH [Prod]' https://search.frtib.xdr.accenturefederalcyber.com
Edit ~/msoc-infrastructure/salt/pillar/CUST_variables.sls
Paste the info from the script and updates the if
clause
Submit your PR to develop, then to master.
Edit the application in okta:
cd ~/xdr-terraform-live/prod/aws-us-gov/mdr-prod-CUST
cp -a ~/xdr-terraform-live/test/aws-us-gov/mdr-test-modelclient/190-splunk-customer-searchhead .
cd 190-splunk-customer-searchhead/
rm -rf .terragrunt-cache/
vim terragrunt.hcl
# update tag to latest
vim ../account.hcl
# Add "splunk-cust-sh" to instance_types
# Add to splunk_volume_sizes:
"customer_searchhead" = {
"swap": 8, # minimum: 8
"/": 10, # minimum: 10
"/home": 4, # minimum: 4
"/var": 15, # minimum: 15
"/var/tmp": 4, # minimum: 4
"/var/log": 8, # minimum: 8
"/var/log/audit": 8, # minimum: 8
"/tmp": 4, # minimum: 4
"/opt/splunk": 60, # No minimum; not in base image
},
Do a PR, get approval, then terraform, highstate, and proceed as usual.
Update the IdP configuration in okta and test.