mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Updates for webhooks (#25806)
To support these dogfooding changes: fleetdm/confidential#9198
This commit is contained in:
parent
2d5784e49d
commit
52d5632e37
4 changed files with 14 additions and 13 deletions
3
.github/workflows/dogfood-gitops.yml
vendored
3
.github/workflows/dogfood-gitops.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue