Skip to content

Support 'Scanned - No Issues' severity#722

Merged
attiasas merged 4 commits intojfrog:devfrom
attiasas:add_no_issues_severity
Apr 28, 2026
Merged

Support 'Scanned - No Issues' severity#722
attiasas merged 4 commits intojfrog:devfrom
attiasas:add_no_issues_severity

Conversation

@attiasas
Copy link
Copy Markdown
Collaborator

@attiasas attiasas commented Apr 9, 2026

feat(severity): support Xray "Scanned - No Issues" severity

Depends on:

Summary

Adds first-class support for Xray’s Scanned - No Issues severity so it can be parsed, displayed (including icons and styling), and mapped consistently to SARIF and Cyclone DX. The --min-severity CLI help now documents this value alongside the existing severities.

Changes

  • utils/severityutils/severity.go: Introduce ScannedNoIssues ("Scanned - No Issues"), emoji/icon handling, Severities details (priority/score/styling), parsing via ParseToSeverity (case-insensitive, trim-aware), SARIF level LevelNone, Cyclone DX SeverityNone ↔ internal severity, and XraySeverityToSeverity mapping from xrayUtils.ScannedNoIssues.
  • utils/severityutils/severity_test.go: Tests for parsing (including whitespace), score, Cyclone DX conversions, severity ratings, and XraySeverityToSeverity.
  • cli/docs/flags.go: Update --min-severity flag description to list Scanned - No Issues as an acceptable value.

@attiasas attiasas added improvement Automatically generated release notes safe to test Approve running integration tests on a pull request labels Apr 9, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Apr 9, 2026
@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Apr 13, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Apr 13, 2026
@attiasas attiasas requested a review from a team April 13, 2026 08:14
Comment thread utils/severityutils/severity.go Outdated
@attiasas attiasas requested a review from orto17 April 28, 2026 10:18
@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Apr 28, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Apr 28, 2026
@github-actions
Copy link
Copy Markdown

👍 Frogbot scanned this pull request and did not find any new security issues.


@attiasas attiasas merged commit a612025 into jfrog:dev Apr 28, 2026
112 of 115 checks passed
@attiasas attiasas deleted the add_no_issues_severity branch April 28, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants