From e90574b808cb570bfe6763bd7653c62e3db3b1d9 Mon Sep 17 00:00:00 2001 From: Allen Houchins <32207388+allenhouchins@users.noreply.github.com> Date: Wed, 22 Jan 2025 15:00:07 -0600 Subject: [PATCH] Enable activities webhook via GitOps (#25690) Dogfooding this feature: fleetdm/confidential#9337 --- .github/workflows/dogfood-gitops.yml | 1 + it-and-security/default.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dogfood-gitops.yml b/.github/workflows/dogfood-gitops.yml index be7b92df68ab..c8413d6fbfd5 100644 --- a/.github/workflows/dogfood-gitops.yml +++ b/.github/workflows/dogfood-gitops.yml @@ -77,6 +77,7 @@ jobs: DOGFOOD_COMPANY_OWNED_IPADS_ENROLL_SECRET: ${{ secrets.DOGFOOD_COMPANY_OWNED_IPADS_ENROLL_SECRET }} FLEET_SECRET_MANAGED_CHROME_ENROLLMENT_TOKEN: ${{ secrets.CLOUD_MANAGEMENT_ENROLLMENT_TOKEN }} DOGFOOD_PERSONALLY_OWNED_IPHONES_ENROLL_SECRET: ${{ secrets.DOGFOOD_PERSONALLY_OWNED_IPHONES_ENROLL_SECRET }} + DOGFOOD_ACTIVITIES_WEBHOOK_URL: ${{ secrets.DOGFOOD_ACTIVITIES_WEBHOOK_URL }} - name: Notify on Gitops failure if: failure() && github.ref_name == 'main' diff --git a/it-and-security/default.yml b/it-and-security/default.yml index a492f2926f43..418266f8bf86 100644 --- a/it-and-security/default.yml +++ b/it-and-security/default.yml @@ -77,6 +77,9 @@ org_settings: destination_url: "" enable_vulnerabilities_webhook: false host_batch_size: 0 + activities_webhook: + destination_url: $DOGFOOD_ACTIVITIES_WEBHOOK_URL + enable_activities_webhook: true policies: queries: - path: ./lib/all/queries/collect-fleetd-update-channels.yml