Cloud workflows
Review findings with Claude.
LaraBeacon Cloud can ask Claude to check each finding against the code around it. Every reviewed finding shows a verdict (confirmed, likely false positive, or uncertain), a plain-language explanation, the realistic production impact, and a suggested fix. Results appear only in your Cloud dashboard.
LaraBeacon Pro with an active Cloud project licence, Core 3.4 or later, and service availability. Reviews are AI suggestions: they never change scanner results, severities, baselines or CI exit codes, and need human review before you act on them.
Request reviews for an upload
Add --ai to a Cloud upload (LaraBeacon Core 3.6 or newer). It works locally and in CI:
php artisan larabeacon --report --aiTo enable it permanently for a project, set LARABEACON_CLOUD_AI_TRIAGE=true. In the GitHub Action, set report: true with your Cloud credentials and pass args: --ai. With the Claude Code plugin, ask for a Cloud upload with AI review; the upload tool sets the flag.
After the report is processed, the report page shows Claude is reviewing… and updates itself when the reviews are ready, usually within a minute or two. Only findings that point to a line of code are reviewed; configuration and dependency findings link to their check pages instead.
Reading a review
- Confirmed by AI: the excerpt shows the reported problem.
- Likely false positive: the excerpt shows that the concern does not apply. These findings move into a separate, collapsed section of the report. They stay in the scanner results and counts; to silence one permanently, add a baseline entry with a reason.
- AI could not decide: the excerpt alone is not enough, for example because configuration or runtime values are missing.
Every finding, reviewed or not, has a Copy prompt for Claude / Codex button. It copies the check, the file location, the scanner guidance and, when available, Claude's explanation and fix, ready to paste into Claude Code or Codex. The prompt names the location instead of including code, because the agent works in your local checkout.
Credits: each finding is reviewed once
A review uses one credit. When the same finding appears in a later report and the code around it is unchanged, the existing review is shown again without using a credit. If the code at that location changes, the finding is reviewed again.
Credits are included once with every Pro licence and shared by all projects of the team:
- Solo: 200 reviews
- Team: 600 reviews
- Enterprise: 2,000 reviews
- Each additional project: 200 more reviews
Open findings are reviewed by severity, new findings first, up to 200 per report. When credits run out, existing reviews remain visible and recurring findings keep their review; new findings are marked as not reviewed. A review that fails does not use a credit and is retried on the next upload with --ai. Team settings show the remaining balance. Credits have no cash value and end with a refunded or revoked licence.
What is sent to Anthropic?
Only for uploads with --ai, and only for the findings that are reviewed:
- an excerpt of about 30 lines around the reported line, with file path and line numbers;
- the check name, description and guidance from LaraBeacon's catalogue, plus the scanner's message and details for that finding.
Secrets are redacted twice: by the LaraBeacon client before upload (values of password, secret, token and key settings, API key and token formats, private key blocks, credentials in URLs), and again by LaraBeacon Cloud before the request to Anthropic. .env files are never sent. Project names, repository identifiers, branches, commits, URLs, user details and stack traces are not part of the review request.
An owner or administrator can turn AI reviews off for the whole team in Team → AI finding review; uploads with --ai are then not reviewed. A request already sent to Anthropic cannot be recalled. Anthropic processes the data under its API terms and retention settings. See the privacy information.
When Claude rates a finding a likely false positive, the LaraBeacon team receives a short notice with the check, the file location and Claude's reason, without any source code, so the analyzer can be improved.
Understand the limits
Claude sees only the excerpt, not your whole application, configuration values or runtime behaviour. It can misjudge a finding in either direction and cannot prove exploitability or verify a fix. Treat a review as a second opinion, read the code yourself, and rerun LaraBeacon after a change. Reviews are kept while the finding keeps appearing and are deleted after 180 days without it.