Skip to content

JAVA-7417 Update rule metadata - #6585

Merged
leonardo-pilastri-sonarsource merged 1 commit into
masterfrom
bot/update-rule-metadata
Nov 25, 2026
Merged

leonardo-pilastri-sonarsource merged 1 commit into
masterfrom
bot/update-rule-metadata

Conversation

@hashicorp-vault-sonar-prod

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Rule Metadata Update Summary

Sonarpedia Rules to update Rules updated
./sonarpedia.json 779 13
Total 779 13

Rule API Version: 2.26.0.6023

This PR was automatically generated to update rule metadata across all supported languages.


Summary by Gitar

  • Profile changes:
    • Added sonarWayRemoval rationale and candidate profiles for S909, S9391, and S9345
    • Renamed Sonar_way profile entry S9412 to S6665
  • Rule descriptions:
    • Added exceptions for @Deprecated-style hiding in S9149 and for java.time enums in S8696
    • Added pitfalls for resolver-based parameters in S4684
  • Metadata updates:
    • Set remediation func and quickfix for S6665
    • Changed CWE mapping in S3329 to CWE-329
  • Documentation links:
    • Updated reference links in S2254, S3752, and S8491

This will update automatically on new commits.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod Bot changed the title Update rule metadata JAVA-7417 Update rule metadata Nov 25, 2026
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

JAVA-7417

@gitar-bot

gitar-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Renaming the Sonar Way entry from S9412 to S6665 and updating rule metadata may change Java rule selection and security-report categorization.

Automated rule metadata update for Java rules, touching 13 of 779 Sonarpedia entries. Changes include new profile rationale entries for S909, S9391, and S9345, a rename of the Sonar_way entry S9412 to S6665, updated rule descriptions and CWE mapping in S3329, and refreshed documentation links. No issues found.

Verification Rules 3/3 met Repos 4 inspected · PRs 1 inspected

Functional validation No results

Rules 3 passed 2 not applicable

✅ Internal artifact registries
✅ Release secrets usage
✅ Repository license compliance

Broader impact Repos 4 inspected PRs 1 inspected
Cross-repo 4 repositories inspected 0 open impacts

SonarSource/sonarlint-core Inspected
SonarSource/sonarlint-eclipse Inspected
SonarSource/sonar-iac Inspected
SonarSource/sonarqube-webapp Inspected

Cross-PR 1 PR inspected 0 open impacts

PR 6579: JAVA-7402 Expose annotations and nullability through symbol metadata Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@david-schroeter david-schroeter 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!

@sonarqube-next

Copy link
Copy Markdown
Contributor

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@leonardo-pilastri-sonarsource
leonardo-pilastri-sonarsource merged commit 0f9e027 into master Nov 25, 2026
21 checks passed
@leonardo-pilastri-sonarsource
leonardo-pilastri-sonarsource deleted the bot/update-rule-metadata branch November 25, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants