Security Changelog
The Security Changelog produces a weekly AI-synthesized summary of your cloud security activity. Instead of sifting through thousands of audit log entries, you get a concise “weather report” that tells you what happened this week, what changed from last week, and what deserves attention. The output is committed to your repo as Markdown and structured JSON, creating a Git-versioned history of your cloud security posture. A GitHub Issue is also created with a risk label so the right people see it.The Security Changelog requires an active GCP connector with a scheduled analysis configured. Set up your GCP connector and scheduled runs first.
How it works
- The Action runs on a weekly cron schedule in your GitHub Actions workflow
- Flare fetches 7 days of cloud audit logs from your connected GCP environment
- AI analyzes the logs and produces a structured changelog with risk scoring
- The Action commits
SECURITY-CHANGELOG.mdandsecurity-changelog.jsonto your repo - A GitHub Issue is created with the summary, risk score, and risk label
git log SECURITY-CHANGELOG.md becomes a narrative timeline of your cloud security posture. The structured JSON enables risk score trending and automated alerting.
Setting up
1. Prerequisites
- A Flare account with a connected GCP connector (sign up)
- An active scheduled analysis (go to Connectors and enable a schedule)
- A webhook token (go to Connectors, click Generate webhook token)
2. Add the workflow
Create.github/workflows/security-changelog.yml in your repository:
3. Add the secret
Go to your repository’s Settings > Secrets and variables > Actions > New repository secret. Name itFLARE_WEBHOOK_TOKEN and paste your webhook token.
4. Test it
Trigger the workflow manually from the Actions tab using the “Run workflow” button. The first run will produce a baseline changelog with all trends set to “new”. Subsequent runs will include week-over-week comparisons.What the changelog covers
Each week’s analysis categorizes findings into:Risk scoring
Every changelog includes a risk score from 0 to 10:Week-over-week comparison
When a prior week’ssecurity-changelog.json exists in your repo, the changelog automatically includes:
- Category trends — each category is marked as up, down, or flat compared to the prior week
- Risk score delta — the signed change in risk score (e.g., “+1.2”, “-0.5”)
- Comparison summary — a one-sentence summary of the most important changes
Quiet week handling
If no meaningful security activity occurred:- Risk score is set to 0
- All category counts are 0
- Highlights array is empty
- The Markdown says “No significant cloud security changes detected during this period”
Inputs
Outputs
What gets committed
Each run produces two files:SECURITY-CHANGELOG.md— Human-readable Markdown. New entries are prepended, so the most recent week is always at the top.security-changelog.json— Structured JSON with risk scores, category counts, and highlights. Overwritten each run (latest week only; full history is in git). Used automatically for week-over-week comparison on the next run.
flare-ai[bot] with the message format: security: weekly changelog (risk: N/10).
Examples
Daily changelog
Changelog without Issue
Alert on high risk
Custom file paths
JSON schema
Thesecurity-changelog.json file follows this structure:
comparison block is only present when prior week data was available. The version field allows the schema to evolve in future releases.
Combining with other Flare Actions
The Security Changelog works alongside the other Flare GitHub Actions:- Scheduled runs catch anomalies in real-time
- Deploy webhooks catch anomalies introduced by deployments
- PR Security Check reviews IaC changes before they merge
- Security Changelog provides the weekly summary and trend tracking