Skip to content
Andesyte

GitHub Security tab (SARIF)

Andesyte uploads SARIF to GitHub Code Scanning on every audit when the App has the right permission. Same findings as the code review, in GitHub's native triage UI.

Every Andesyte audit produces a SARIF 2.1.0 document and uploads it to GitHub Code Scanning alongside the inline code review. The findings are the same ones you see as inline comments, just surfaced in GitHub's native Security tab so they can be triaged, dismissed or assigned the same way as findings from CodeQL or any other code-scanning tool.

This is not a plan-gated feature. It runs on every installation that grants the right permission, including Free.

How to enable it

Andesyte needs the security_events: write permission on its GitHub App installation. If you installed Andesyte before this permission was added, GitHub will surface a "Permission update required" banner on your installation settings page. Accept it.

If the permission is missing, SARIF upload silently no-ops. The code review still posts as normal, you just don't get the Security tab integration. There is no error in the code review.

What gets uploaded

  • One SARIF run per code review audit, tagged with the head commit SHA
  • Results are capped per run to stay under GitHub's compressed-payload limit
  • One rule definition per unique finding rule ID
  • CWE tags on rule properties where the underlying scanner attaches them
  • Severities mapped: critical/high → error, medium → warning, low/info → note
  • Stable partialFingerprints.sebastionPrimary per finding so GitHub can reconcile re-audits of the same code review and avoid duplicate alerts

If a scanner emits an execution-failure notification (e.g. an OSV fetch timeout), it's included in the SARIF run as a toolExecutionNotification so it doesn't show up as a missing finding.

What it does not do

  • It does not post separately or duplicate the code review. The Security tab and the inline review are two views of the same audit.
  • It does not affect Pro-only behaviour like autofix PRs. Autofix runs independently and is plan-gated; SARIF is not.
  • It does not replace GitHub's own CodeQL. Andesyte's findings sit next to any other Code Scanning tool you have configured.

When SARIF upload fails

  • Missing permission (403/404): silent no-op. The code review still ships. To fix, accept the permission update on the App installation.
  • Repo doesn't have Code Scanning enabled: GitHub returns a permissive response and the run is dropped on their side. No action needed.
  • Payload too large after compression: we truncate to fit. If you see this happen consistently on a single code review, tune ignore_paths or severity_threshold in .andesyte.yml so fewer findings reach the uploader.