Managing Log Source Alarms with Terraform
Manage log source drop-off alarms as code in Terraform
Overview
How to define a log source alarm in Terraform
Prerequisites
Step 1: Define variables
variable "panther_api_token" {
description = "Panther API token"
type = string
sensitive = true
}
variable "panther_api_url" {
description = "Panther API URL"
type = string
}
variable "minutes_threshold" {
description = "How long Panther waits, in minutes, before alerting when no events are received. Must be between 15 and 43,200 (30 days)."
type = number
default = 60
}Step 2: Provide values for the defined variables
Step 3: Define the Terraform provider
Step 4: Define the Panther log source alarm resource
Resource reference
panther_log_source_alarm
panther_log_source_alarmArguments
Name
Type
Required
Description
Attributes
Name
Type
Description
Importing existing log source alarms
Last updated
Was this helpful?

