account.hcl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # Set account-wide variables. These are automatically pulled in to configure the remote state bucket in the root
  2. # terragrunt.hcl configuration.
  3. locals {
  4. # TODO put the right values here
  5. account_name = "mdr-prod-frtib"
  6. account_alias = "mdr-prod-frtib"
  7. aws_account_id = "237704155425"
  8. instance_termination_protection = true # set to true for production!
  9. splunk_prefix = "frtib"
  10. splunk_private_hec = false # True if the customer needs a private HTTP Event Collector such as for ALSI
  11. splunk_data_sources = [
  12. "52.61.113.202/32", # TODO: Add customer's public IP addresses
  13. "54.205.60.17/32", # 2021-05-04 From John Conrad john.conrad.2@alight.com
  14. "52.206.203.98/32",
  15. "34.233.188.131/32",
  16. "15.200.226.57/32", # 2021-07-12 From "Nguyen, Brian A." <brian.a.nguyen@accenturefederal.com>
  17. "34.214.247.125/32", # 2022-01-20 From John Conrad john.conrad.2@alight.com
  18. "44.235.174.214/32",
  19. "52.89.203.9/32",
  20. "3.221.245.113/32", # FRTIB Chaos us-east-1
  21. "34.237.100.242/32", # FRTIB Chaos us-east-1
  22. "35.172.75.107/32", # FRTIB Chaos us-east-1
  23. "54.164.205.89/32", # FRTIB Chaos us-east-1
  24. "54.209.105.32/32", # FRTIB Chaos us-east-1
  25. "54.224.69.136/32", # FRTIB Chaos us-east-1
  26. "34.237.183.65/32", # FRTIB Chaos prod us-east-1
  27. "34.227.214.27/32", # FRTIB Chaos prod us-east-1
  28. "3.232.76.136/32", # FRTIB Chaos prod us-east-1
  29. ]
  30. splunk_legacy_cidr = [] # Should not be needed for new customers
  31. splunk_asg_sizes = [3, 3, 3] # How many indexers in each site
  32. account_tags = {
  33. "Client" : local.splunk_prefix,
  34. }
  35. c2_account_standards_path = "../../mdr-prod-c2/005-account-standards-c2" # TODO: Subsitute with test or prod
  36. # For CIDR assignment, see https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
  37. vpc_info = {
  38. "vpc-splunk" = {
  39. "name" = "vpc-splunk",
  40. "purpose" = "Splunk Systems (FRTIB)", # TODO: Substitute with Customer Name
  41. "cidr" = "10.42.36.0/22",
  42. "tgw_attached" = true
  43. }
  44. }
  45. # Qualys Connector - See https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/Qualys
  46. qualys_connector_externalid = "1619382305452" # Needs to come from the qualys console
  47. # End of TODO
  48. # Splunk instance sizes can be customized
  49. # TODO: Set these appropriately in the skeleton for prod
  50. instance_types = {
  51. "alsi-master" = "t3a.small",
  52. "alsi-worker" = "t3a.small",
  53. "splunk-cm" = "m5a.xlarge",
  54. "splunk-indexer" = "i3en.3xlarge",
  55. "splunk-hf" = "m5a.xlarge",
  56. "splunk-sh" = "m5a.8xlarge", # 2022-05-25 - increased from m5a.4xlarge in prep for go live day
  57. "splunk-cust-sh" = "m5a.xlarge",
  58. }
  59. # Splunk Volume Sizes are probably fine at defaults
  60. splunk_volume_sizes = {
  61. "cluster_master" = {
  62. "swap" : 8, # minimum: 8
  63. "/" : 20, # minimum: 20
  64. "/home" : 4, # minimum: 4
  65. "/var" : 15, # minimum: 15
  66. "/var/tmp" : 4, # minimum: 4
  67. "/var/log" : 8, # minimum: 8
  68. "/var/log/audit" : 8, # minimum: 8
  69. "/tmp" : 4, # minimum: 4
  70. "/opt/splunk" : 30, # No minimum; not in base image
  71. },
  72. "indexer" = {
  73. "swap" : 8, # minimum: 8
  74. "/" : 20, # minimum: 20
  75. "/home" : 4, # minimum: 4
  76. "/var" : 15, # minimum: 15
  77. "/var/tmp" : 4, # minimum: 4
  78. "/var/log" : 8, # minimum: 8
  79. "/var/log/audit" : 8, # minimum: 8
  80. "/tmp" : 4, # minimum: 4
  81. "/opt/splunk" : 30, # No minimum; not in base image
  82. },
  83. "searchhead" = {
  84. "swap" : 8, # minimum: 8
  85. "/" : 20, # minimum: 20
  86. "/home" : 4, # minimum: 4
  87. "/var" : 15, # minimum: 15
  88. "/var/tmp" : 4, # minimum: 4
  89. "/var/log" : 8, # minimum: 8
  90. "/var/log/audit" : 8, # minimum: 8
  91. "/tmp" : 4, # minimum: 4
  92. "/opt/splunk" : 60, # No minimum; not in base image
  93. },
  94. "customer_searchhead" = {
  95. "swap" : 8, # minimum: 8
  96. "/" : 20, # minimum: 20
  97. "/home" : 4, # minimum: 4
  98. "/var" : 15, # minimum: 15
  99. "/var/tmp" : 4, # minimum: 4
  100. "/var/log" : 8, # minimum: 8
  101. "/var/log/audit" : 8, # minimum: 8
  102. "/tmp" : 4, # minimum: 4
  103. "/opt/splunk" : 60, # No minimum; not in base image
  104. },
  105. "heavy_forwarder" = {
  106. "swap" : 8, # minimum: 8
  107. "/" : 20, # minimum: 20
  108. "/home" : 4, # minimum: 4
  109. "/var" : 15, # minimum: 15
  110. "/var/tmp" : 4, # minimum: 4
  111. "/var/log" : 8, # minimum: 8
  112. "/var/log/audit" : 8, # minimum: 8
  113. "/tmp" : 4, # minimum: 4
  114. "/opt/splunk" : 30, # No minimum; not in base image
  115. },
  116. }
  117. # ALSI - Aggregated Log Source Ingestion
  118. #
  119. # If cribl is being used for log ingestion, remember to turn on splunk_private_hec, too.
  120. alsi_workers = 0 # how many cribl workers
  121. alsi_splunk_nlb = false # splunk://moose-alsi-splunk.xdr{,test}.accenturefederalcyber.com:9997 and 9998
  122. alsi_elastic_alb = false # https://moose-alsi-elastic.xdr{,test}.accenturefederalcyber.com -> 9200
  123. alsi_hec_alb = false # https://moose-alsi-hec.xdr{,test}.accenturefederalcyber.com -> 8080
  124. }