Skip to main content

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

  1. The Action runs on a weekly cron schedule in your GitHub Actions workflow
  2. Flare fetches 7 days of cloud audit logs from your connected GCP environment
  3. AI analyzes the logs and produces a structured changelog with risk scoring
  4. The Action commits SECURITY-CHANGELOG.md and security-changelog.json to your repo
  5. A GitHub Issue is created with the summary, risk score, and risk label
Over time, 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 it FLARE_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’s security-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
On the first run, all trends are set to “new” (no baseline for comparison). The comparison block is omitted entirely.

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”
The changelog is still committed — the absence of activity is itself a data point.

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.
Commits are authored as 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

The security-changelog.json file follows this structure:
The 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: All four can run on the same connector. Each serves a different time horizon: PR checks prevent issues, deploy webhooks catch immediate regressions, scheduled runs detect ongoing anomalies, and the changelog gives you the big picture.