Skip to content

Commit 35950a3

Browse files
Sensor Config 28.4.0-1 (#21)
1 parent f7edefc commit 35950a3

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

sensor_config.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "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
}

variables.tf

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ variable "fleet_server_sslname" {
6666
variable "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

7272
variable "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+
}

0 commit comments

Comments
 (0)