Skip to main content
Version: 3.13-dev

SAST

Static Application Security Testing (SAST) in KubeRocketCI shows SonarQube projects and their code quality metrics. Use Security > SAST > Projects to see all projects and open details for any of them.

SAST Projects​

The SAST > Projects page lists projects analyzed by SonarQube. The subtitle describes it as SonarQube projects and their code quality metrics.

Search and Table​

  • Search β€” Use Search projects by name... at the top to filter the list.
  • Columns β€” The Columns control (e.g. "Columns 9") lets you choose which columns are shown.

The table includes:

ColumnDescription
Project NameName of the codebase or application.
Quality GateStatus: Passed (green checkmark) or N/A (gray).
VisibilityProject visibility (e.g. PUBLIC).
BugsNumber of bugs (e.g. 0 A; the letter is a grade).
VulnerabilitiesNumber of vulnerabilities (e.g. 0 A).
Code SmellsNumber of code smells (e.g. 2 A, 1 A).
CoverageTest coverage percentage (e.g. 0.0%, 77.8%).
DuplicationsDuplicated lines percentage (e.g. 0.0%).
Last AnalysisDate and time of the last analysis.

Use this view to monitor security and code quality across projects at a glance.

Project Details​

When you click a project in the list, you open Project Details. The breadcrumbs show Security > SAST > Projects > Project Details.

At the top you see:

  • Project name (e.g. example-sast-project) and a PUBLIC badge.
  • Key β€” SonarQube project key (e.g. Key: example-sast-project).
  • Last analysis β€” Timestamp of the last run.
  • View in SonarQube β€” Link to open the project in SonarQube.

A metrics bar shows summary grades and values: Vulnerabilities, Bugs, Code Smells, Hotspots Reviewed, Coverage, Duplications (with letter grades like A and color indicators).

Two main tabs are available: Overview and Issues.

Overview Tab​

The Overview tab shows card-based metrics:

  • Reliability β€” Number of bugs (with grade badge, e.g. A).
  • Security β€” Number of vulnerabilities (with grade badge).
  • Maintainability β€” Code smells and technical debt (with grade badge).
  • Security Review β€” Security hotspots to review (with grade badge).
  • Coverage β€” Test coverage percentage (with color dot, e.g. red for 0%).
  • Duplications β€” Duplicated lines density (with color dot).
  • Size β€” Lines of code.
  • Quality Gate β€” Quality gate status (e.g. Passed with OK badge).

Quality Gate Details is a table with columns: Metric, Operator, Threshold, Actual, Status. It lists each quality gate condition (e.g. blocker_violations, critical_violations) and whether the project meets it (OK or not). You can change visible columns via the Columns control (e.g. "Columns 5").

Issues Tab​

The Issues tab shows findings for the project (e.g. "Issues 2" when there are 2 issues).

  • Issue type filters β€” All Issues, Bugs, Vulnerabilities, Code Smells to filter by kind.
  • Severity filters β€” Buttons for BLOCKER, CRITICAL, MAJOR, MINOR, INFO to filter by severity.

The issues table has:

ColumnDescription
SeveritySeverity with icon (e.g. MAJOR).
TypeIssue type (e.g. CODE_SMELL).
MessageShort description of the issue.
FileFile path and line (e.g. src/app/app.component.css:1); often clickable.
EffortEstimated fix effort (e.g. "1 min", "5 mins").
CreatedWhen the issue was created or last seen (e.g. analysis date).

Use Columns to customize the table. Pagination at the bottom (e.g. "Rows per page: 25", "1–2 of 2") lets you move through the list when there are many issues.