Skip to content

Unable to set failing_policies_webhook via GitOps #27629

@allenhouchins

Description

@allenhouchins

Fleet version: Latest on dogfood

Web browser and operating system: Any


💥  Actual behavior

I am attempting to set the following in Fleet via GitOps:

  webhook_settings:
    failing_policies_webhook:
      destination_url: $DOGFOOD_FAILING_POLICIES_WEBHOOK_URL
      enable_failing_policies_webhook: true
      host_batch_size: 0
      policy_ids:
        - 14937
        - 14946
        - 15329
        - 14100

This was working up until January 24, 2025 and no policy_ids were set. See https://fleetdm.slack.com/archives/C089S7EAJE9. Today, in order to test, I set explicit policy IDs and this is still not working.

@harrisonravazzolo also ran into this issue in yesterday's hand-on GitOps training.

🧑‍💻  Steps to reproduce

  1. Attempt to set failing_policies_webhook via GitOps
  2. Notice the webhook does not get enabled in Fleet UI
  3. Ponder the meaning of it all

🕯️ More info (optional)

This is observable in dogfood: https://github.com/fleetdm/fleet/blob/eaa3ce071c8d48bb8a7cdbc17ee74ac3718fb3d6/it-and-security/default.yml#L67C1-L76C16

Allow for failing policies webhook to be set and managed via GitOps (YAML).

Metadata

Metadata

Labels

#g-orchestrationOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documented

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions