Updates for webhooks (#25806)

To support these dogfooding changes: fleetdm/confidential#9198
This commit is contained in:
Allen Houchins 2025-01-28 20:58:12 -06:00 committed by GitHub
parent 2d5784e49d
commit 52d5632e37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 13 deletions

View file

@ -66,7 +66,6 @@ jobs:
DOGFOOD_FAILING_POLICIES_WEBHOOK_URL: ${{ secrets.DOGFOOD_FAILING_POLICIES_WEBHOOK_URL }}
DOGFOOD_VULNERABILITIES_WEBHOOK_URL: ${{ secrets.DOGFOOD_VULNERABILITIES_WEBHOOK_URL }}
DOGFOOD_WORKSTATIONS_ENROLL_SECRET: ${{ secrets.DOGFOOD_WORKSTATIONS_ENROLL_SECRET }}
DOGFOOD_WORKSTATIONS_CANARY_CALENDAR_WEBHOOK_URL: ${{ secrets.DOGFOOD_WORKSTATIONS_CANARY_CALENDAR_WEBHOOK_URL }}
DOGFOOD_WORKSTATIONS_CANARY_ENROLL_SECRET: ${{ secrets.DOGFOOD_WORKSTATIONS_CANARY_ENROLL_SECRET }}
DOGFOOD_SERVERS_ENROLL_SECRET: ${{ secrets.DOGFOOD_SERVERS_ENROLL_SECRET }}
DOGFOOD_SERVERS_CANARY_ENROLL_SECRET: ${{ secrets.DOGFOOD_SERVERS_CANARY_ENROLL_SECRET }}
@ -78,6 +77,8 @@ jobs:
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 }}
DOGFOOD_CALENDAR_WEBHOOK_URL: ${{ secrets.DOGFOOD_CALENDAR_WEBHOOK_URL }}
DOGFOOD_HOST_STATUS_WEBHOOK_URL: ${{ secrets.DOGFOOD_HOST_STATUS_WEBHOOK_URL }}
- name: Notify on Gitops failure
if: failure() && github.ref_name == 'main'

View file

@ -63,19 +63,19 @@ org_settings:
metadata_url: ""
webhook_settings:
failing_policies_webhook:
destination_url: ""
enable_failing_policies_webhook: false
destination_url: $DOGFOOD_FAILING_POLICIES_WEBHOOK_URL
enable_failing_policies_webhook: true
host_batch_size: 0
policy_ids: []
policy_ids:
host_status_webhook:
days_count: 1
destination_url: ""
enable_host_status_webhook: false
host_percentage: 25
interval: 1m0s
days_count: 5
destination_url: $DOGFOOD_HOST_STATUS_WEBHOOK_URL
enable_host_status_webhook: true
host_percentage: 20
interval: 360m0s
vulnerabilities_webhook:
destination_url: ""
enable_vulnerabilities_webhook: false
destination_url: $DOGFOOD_VULNERABILITIES_WEBHOOK_URL
enable_vulnerabilities_webhook: true
host_batch_size: 0
activities_webhook:
destination_url: $DOGFOOD_ACTIVITIES_WEBHOOK_URL

View file

@ -11,7 +11,7 @@ team_settings:
integrations:
google_calendar:
enable_calendar_events: true
webhook_url: $DOGFOOD_WORKSTATIONS_CANARY_CALENDAR_WEBHOOK_URL
webhook_url: $DOGFOOD_CALENDAR_WEBHOOK_URL
agent_options:
config:
decorators:

View file

@ -11,7 +11,7 @@ team_settings:
integrations:
google_calendar:
enable_calendar_events: true
webhook_url: $DOGFOOD_WORKSTATIONS_CANARY_CALENDAR_WEBHOOK_URL
webhook_url: $DOGFOOD_CALENDAR_WEBHOOK_URL
agent_options:
config:
decorators: