Deploy webhooks give you an automatic security review after every deployment. When your CI/CD pipeline fires the webhook, Flare compares audit logs from before and after the deploy to catch IAM changes, new service accounts, permission escalations, and access pattern shifts introduced by the deployment.
Deploy webhooks require an active GCP connector. Set up your GCP connector first.
Add a webhook call as a post-deploy step. The only required piece is the Authorization header with your token.
# Add as the last step in your deploy job- name: Flare post-deploy security review uses: tryflare-ai/deploy-webhook@v1 with: token: ${{ secrets.FLARE_WEBHOOK_TOKEN }} environment: production # optional
The commit-sha and branch inputs are automatically populated from the GitHub context. See all available inputs and outputs on the GitHub Marketplace listing.
If your CI/CD fires the webhook multiple times in quick succession (e.g., multiple merges, failed deploys, retries), Flare debounces automatically. Only the most recent deploy gets analyzed. Earlier pending deploys are overwritten.This means you won’t waste analysis credits on intermediate deployment states — Flare always analyzes the final state.
Deploy analyses appear in your Analyses history with a green Post-deploy badge. The analysis name includes the commit SHA when provided (e.g., “Post-deploy abc1234 - GCP Production”).The anomaly results include a changeType for each finding:
New — this value appeared only after the deploy
Frequency shift — this value existed before but at a different rate
Disappeared — this value was present before but absent after the deploy
From the Connectors page, click Revoke token in the Deploy webhook section. This immediately invalidates the token — all CI/CD pipelines using it will receive 401 Unauthorized. Any pending deploy analyses for that connector are also cancelled.Generate a new token if you need to re-enable the webhook.