Event-driven
Re-scan the moment code changes — every push and pull request.
Scheduled
Re-scan on a cadence you set — nightly posture, weekly container CVEs.
Continuous
Always-on runtime sensors streaming host and workload events.
Event-driven — re-scan on change
Once the GitHub App is installed, BreachLens listens to your repositories and re-scans automatically:- Push / pull request → a fresh code scan runs and posts its result as a PR check.
- Merge → findings that the merged code fixed are auto-resolved.
Scheduled — re-scan on a cadence
Code changes are event-driven, but posture, container images, and live web apps drift on their own — a base image gets a new CVE overnight, an admin loosens an org policy. For those, you re-scan on a schedule. BreachLens provides the trigger (thebreachlens CLI and the scan API); you provide the cadence, using the scheduler you already run. Scans fired this way are recorded with a SCHEDULED trigger type, so you can tell an operator re-scan apart from a PR scan in the history.
There’s no cron to configure inside BreachLens today — the schedule lives in your CI or cluster, which keeps it in the same place as the rest of your automation and works in air-gapped installs. Want native in-app scheduling? Tell us — it helps us prioritize.
Posture is the flagship scheduled check
GitHub posture and cloud posture are the clearest case for scheduling. A repo that had branch protection yesterday can lose it today; a cloud account that was compliant last week can drift. Re-running posture nightly turns a one-time audit into an ongoing control — and because BreachLens keeps unevaluated separate from failing, a re-scan also re-checks coverage, not just violations.See what changed between runs
Every scan in a target’s Scans tab has a ⇆ Diff button. It compares a run to the previous one of the same type and shows exactly what’s new and what’s fixed since — so a scheduled re-scan answers “what drifted overnight?” at a glance, not “here are all 200 findings again.”Continuous — runtime detection
Code and config are scanned; the running system is watched. BreachLens’s runtime tier streams events continuously rather than on a cadence:- Runtime sensors — host + workload agents emit syscall, file-integrity, command-exec, network, and vulnerability events into the same correlation graph.
- Egress verification (roadmap) — a “what did this actually talk to” record built from network + TLS events; in development, not yet shipped.
Set up runtime sensors
Deploy host / workload sensors and wire them to your BreachLens install.
Act on the signal
Continuous monitoring is only useful if the right person hears about it. BreachLens closes the loop:Putting it together
1
Event-driven for code
Install the GitHub App — push/PR scans and merge auto-resolve come for free.
2
Schedule the drifters
Add a nightly CI job or CronJob that re-runs posture (and container / DAST where relevant) with
--severity-gate none.3
Stream the runtime
Deploy runtime sensors so live behavior feeds the same correlation graph.
4
Route the alerts
Wire Slack / Teams / Jira so a new confirmed finding or posture regression reaches an owner — not just a dashboard nobody’s watching.
Next steps
Set up runtime sensors
Deploy always-on host and workload sensors that stream live behavior into the same correlation graph.
Audit GitHub posture
Schedule the posture check that catches branch-protection and org-policy drift.