mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Dogfood - re-enabling webhook log destination (#30690)
- Disabling firehose log destination - Re-enabling webhook log destination <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enabled webhook logging by activating environment variables for webhook URLs. * Webhook log plugin is now conditionally set based on the presence of a webhook URL. * **Chores** * Updated environment variable management by removing firehose-logging addon variables from the configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
e2827199b9
commit
aa2a080711
1 changed files with 3 additions and 4 deletions
|
|
@ -71,9 +71,9 @@ locals {
|
|||
FLEET_DEV_ANDROID_ENABLED = "1"
|
||||
FLEET_DEV_ANDROID_SERVICE_CREDENTIALS = var.android_service_credentials
|
||||
# Webhook Results & Status Logging Destination
|
||||
# FLEET_WEBHOOK_STATUS_URL = var.webhook_url
|
||||
# FLEET_WEBHOOK_RESULT_URL = var.webhook_url
|
||||
# FLEET_OSQUERY_RESULT_LOG_PLUGIN = var.webhook_url != "" ? "webhook" : ""
|
||||
FLEET_WEBHOOK_STATUS_URL = var.webhook_url
|
||||
FLEET_WEBHOOK_RESULT_URL = var.webhook_url
|
||||
FLEET_OSQUERY_RESULT_LOG_PLUGIN = var.webhook_url != "" ? "webhook" : ""
|
||||
}
|
||||
sentry_secrets = {
|
||||
FLEET_SENTRY_DSN = "${aws_secretsmanager_secret.sentry.arn}:FLEET_SENTRY_DSN::"
|
||||
|
|
@ -142,7 +142,6 @@ module "main" {
|
|||
}
|
||||
extra_iam_policies = concat(module.firehose-logging.fleet_extra_iam_policies, module.osquery-carve.fleet_extra_iam_policies, module.ses.fleet_extra_iam_policies)
|
||||
extra_environment_variables = merge(
|
||||
module.firehose-logging.fleet_extra_environment_variables,
|
||||
module.osquery-carve.fleet_extra_environment_variables,
|
||||
module.ses.fleet_extra_environment_variables,
|
||||
local.extra_environment_variables,
|
||||
|
|
|
|||
Loading…
Reference in a new issue