Skip to content

feat(riskscore): add risk score to all queries#7728

Merged
cx-artur-ribeiro merged 25 commits into
masterfrom
AST-112454-add-risk-score-all-queries
Oct 9, 2025
Merged

feat(riskscore): add risk score to all queries#7728
cx-artur-ribeiro merged 25 commits into
masterfrom
AST-112454-add-risk-score-all-queries

Conversation

@cx-artur-ribeiro

@cx-artur-ribeiro cx-artur-ribeiro commented Sep 18, 2025

Copy link
Copy Markdown
Contributor

Reason for Proposed Changes

  • Add Risk Score to all queries. This score helps users prioritize security findings based on their potential impact, improving efficiency and risk management in remediation workflows.

Proposed Changes

  • Add Risk Score to all queries metadata;
  • Add riskScore as a required parameter for all queries;
  • Add Risk Score to console and report outputs;
  • Update all report formats, adding the new field;
  • Fix bug on html report with the Critical severity icon not appearing;
  • Update creating-queries documentation;
  • Fix html report format with wrong centering;
  • Add missing fields to e2e tests;

I submit this contribution under the Apache-2.0 license.

@cx-artur-ribeiro cx-artur-ribeiro self-assigned this Sep 18, 2025
@cx-artur-ribeiro cx-artur-ribeiro requested a review from a team as a code owner September 18, 2025 13:48
@github-actions github-actions Bot added feature New feature query New query feature labels Sep 18, 2025
@github-actions

Copy link
Copy Markdown
Contributor

kics-logo

KICS version: v2.1.13

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

@github-actions github-actions Bot added the bug Something isn't working label Sep 18, 2025
cx-bruno-silva
cx-bruno-silva previously approved these changes Sep 19, 2025

@cx-eduardo-semanas cx-eduardo-semanas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-artur-ribeiro cx-artur-ribeiro merged commit 53dbe65 into master Oct 9, 2025
27 of 28 checks passed
@cx-artur-ribeiro cx-artur-ribeiro deleted the AST-112454-add-risk-score-all-queries branch October 9, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature New feature query New query feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants