File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 11module "sensor_config" {
2- source = " github.com/corelight/terraform-config-sensor?ref=v1.0.0 "
2+ source = " github.com/corelight/terraform-config-sensor?ref=28.4.0-1 "
33
44 fleet_community_string = var. community_string
55 fleet_token = var. fleet_token
@@ -15,6 +15,8 @@ module "sensor_config" {
1515 sensor_health_check_http_port = local. monitoring_health_check_port
1616 subnetwork_monitoring_gateway = cidrhost (data. azurerm_subnet . mon_subnet . address_prefixes [0 ], 1 )
1717 subnetwork_monitoring_cidr = data. azurerm_subnet . mon_subnet . address_prefix
18+ fedramp_mode_enabled = var. fedramp_mode_enabled
19+ prometheus_enabled = var. prometheus_enabled
1820 gzip_config = true
1921 base64_encode_config = true
2022}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ variable "fleet_server_sslname" {
6666variable "sensor_admin_username" {
6767 description = " The name of the admin user on the corelight sensor VM in the VMSS"
6868 type = string
69- default = " ubuntu "
69+ default = " corelight "
7070}
7171
7272variable "nat_gateway_ip_name" {
@@ -182,3 +182,15 @@ variable "fleet_no_proxy" {
182182 default = " "
183183 description = " (optional) hosts or domains to bypass the proxy for fleet traffic"
184184}
185+
186+ variable "prometheus_enabled" {
187+ type = bool
188+ default = false
189+ description = " (optional) enable Prometheus metrics"
190+ }
191+
192+ variable "fedramp_mode_enabled" {
193+ type = bool
194+ default = false
195+ description = " (optional) enable Fedramp mode"
196+ }
You can’t perform that action at this time.
0 commit comments