fleetlint Policy for a fleet of repositories
v0.6
Getting started

ci/sast/ruby

Code is scanned by a SAST tool

Implements ci/sast for ruby.

Severityinfo
Tiers1
Stacksruby
Scoperoot
Kindoutcome
Sourcelibrary v0.3.1
Selected byfleetlint-recommended@v0.3.1

Requirement

Brakeman (taint analysis for Rails) runs in CI or the task runner; or a stack-neutral scanner (CodeQL, Semgrep, GitLab SAST, SonarQube).

Why

SAST follows data from input to dangerous sinks across files, which per-file linters do not; on GitHub CodeQL is free for public repositories.

Fix

Add bundle exec brakeman --no-pager to the check workflow, or a CodeQL/Semgrep step.

Agent instruction: Add a CodeQL workflow (github/codeql-action init/analyze, pinned) for the repository’s languages, or on GitLab include components/sast; run it on pull requests and weekly.

See: https://fleetlint.org/baseline/#security, https://fleetlint.org/stacks/#ruby, https://brakemanscanner.org/


Generated by fleetlint docs from catalog v0.3.1.