account.hcl 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. ]
  27. splunk_legacy_cidr = [] # Should not be needed for new customers
  28. splunk_asg_sizes = [1, 1, 1] # How many indexers in each site
  29. account_tags = {
  30. "Client" : local.splunk_prefix,
  31. }
  32. c2_account_standards_path = "../../mdr-prod-c2/005-account-standards-c2" # TODO: Subsitute with test or prod
  33. # For CIDR assignment, see https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
  34. vpc_info = {
  35. "vpc-splunk" = {
  36. "name" = "vpc-splunk",
  37. "purpose" = "Splunk Systems (FRTIB)", # TODO: Substitute with Customer Name
  38. "cidr" = "10.42.36.0/22",
  39. "tgw_attached" = true
  40. }
  41. }
  42. # Qualys Connector - See https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/Qualys
  43. qualys_connector_externalid = "1619382305452" # Needs to come from the qualys console
  44. # End of TODO
  45. # Splunk instance sizes can be customized
  46. # TODO: Set these appropriately in the skeleton for prod
  47. instance_types = {
  48. "alsi-master" = "t3a.small",
  49. "alsi-worker" = "t3a.small",
  50. "splunk-cm" = "m5a.xlarge", # legacy: t2.small
  51. "splunk-indexer" = "i3en.3xlarge", # legacy: t2.small, but whats the point if we don't have instance storage.
  52. "splunk-hf" = "m5a.xlarge", # legacy: t2.medium
  53. "splunk-sh" = "m5a.4xlarge", # legacy: ? not sure
  54. "splunk-cust-sh" = "m5a.xlarge",
  55. }
  56. # Splunk Volume Sizes are probably fine at defaults
  57. splunk_volume_sizes = {
  58. "cluster_master" = {
  59. "swap" : 8, # minimum: 8
  60. "/" : 20, # minimum: 20
  61. "/home" : 4, # minimum: 4
  62. "/var" : 15, # minimum: 15
  63. "/var/tmp" : 4, # minimum: 4
  64. "/var/log" : 8, # minimum: 8
  65. "/var/log/audit" : 8, # minimum: 8
  66. "/tmp" : 4, # minimum: 4
  67. "/opt/splunk" : 30, # No minimum; not in base image
  68. },
  69. "indexer" = {
  70. "swap" : 8, # minimum: 8
  71. "/" : 20, # minimum: 20
  72. "/home" : 4, # minimum: 4
  73. "/var" : 15, # minimum: 15
  74. "/var/tmp" : 4, # minimum: 4
  75. "/var/log" : 8, # minimum: 8
  76. "/var/log/audit" : 8, # minimum: 8
  77. "/tmp" : 4, # minimum: 4
  78. "/opt/splunk" : 30, # No minimum; not in base image
  79. },
  80. "searchhead" = {
  81. "swap" : 8, # minimum: 8
  82. "/" : 20, # minimum: 20
  83. "/home" : 4, # minimum: 4
  84. "/var" : 15, # minimum: 15
  85. "/var/tmp" : 4, # minimum: 4
  86. "/var/log" : 8, # minimum: 8
  87. "/var/log/audit" : 8, # minimum: 8
  88. "/tmp" : 4, # minimum: 4
  89. "/opt/splunk" : 60, # No minimum; not in base image
  90. },
  91. "customer_searchhead" = {
  92. "swap" : 8, # minimum: 8
  93. "/" : 20, # minimum: 20
  94. "/home" : 4, # minimum: 4
  95. "/var" : 15, # minimum: 15
  96. "/var/tmp" : 4, # minimum: 4
  97. "/var/log" : 8, # minimum: 8
  98. "/var/log/audit" : 8, # minimum: 8
  99. "/tmp" : 4, # minimum: 4
  100. "/opt/splunk" : 60, # No minimum; not in base image
  101. },
  102. "heavy_forwarder" = {
  103. "swap" : 8, # minimum: 8
  104. "/" : 20, # minimum: 20
  105. "/home" : 4, # minimum: 4
  106. "/var" : 15, # minimum: 15
  107. "/var/tmp" : 4, # minimum: 4
  108. "/var/log" : 8, # minimum: 8
  109. "/var/log/audit" : 8, # minimum: 8
  110. "/tmp" : 4, # minimum: 4
  111. "/opt/splunk" : 30, # No minimum; not in base image
  112. },
  113. }
  114. # ALSI - Aggregated Log Source Ingestion
  115. #
  116. # If cribl is being used for log ingestion, remember to turn on splunk_private_hec, too.
  117. alsi_workers = 0 # how many cribl workers
  118. alsi_splunk_nlb = false # splunk://moose-alsi-splunk.xdr{,test}.accenturefederalcyber.com:9997 and 9998
  119. alsi_elastic_alb = false # https://moose-alsi-elastic.xdr{,test}.accenturefederalcyber.com -> 9200
  120. alsi_hec_alb = false # https://moose-alsi-hec.xdr{,test}.accenturefederalcyber.com -> 8080
  121. }