Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sensor_config.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "sensor_config" {
source = "github.com/corelight/terraform-config-sensor?ref=v1.0.0"
source = "github.com/corelight/terraform-config-sensor?ref=28.4.0-1"

fleet_community_string = var.community_string
fleet_token = var.fleet_token
Expand All @@ -15,6 +15,8 @@ module "sensor_config" {
sensor_health_check_http_port = local.monitoring_health_check_port
subnetwork_monitoring_gateway = cidrhost(data.azurerm_subnet.mon_subnet.address_prefixes[0], 1)
subnetwork_monitoring_cidr = data.azurerm_subnet.mon_subnet.address_prefix
fedramp_mode_enabled = var.fedramp_mode_enabled
prometheus_enabled = var.prometheus_enabled
gzip_config = true
base64_encode_config = true
}
14 changes: 13 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ variable "fleet_server_sslname" {
variable "sensor_admin_username" {
description = "The name of the admin user on the corelight sensor VM in the VMSS"
type = string
default = "ubuntu"
default = "corelight"
}

variable "nat_gateway_ip_name" {
Expand Down Expand Up @@ -182,3 +182,15 @@ variable "fleet_no_proxy" {
default = ""
description = "(optional) hosts or domains to bypass the proxy for fleet traffic"
}

variable "prometheus_enabled" {
type = bool
default = false
description = "(optional) enable Prometheus metrics"
}

variable "fedramp_mode_enabled" {
type = bool
default = false
description = "(optional) enable Fedramp mode"
}