Implement static code analysis rule to analyse hard coded counter mode initialization vectors#603
Merged
ThisaruGuruge merged 3 commits intoballerina-platform:masterfrom Sep 18, 2025
nureka-rodrigo:master
Merged
Implement static code analysis rule to analyse hard coded counter mode initialization vectors#603ThisaruGuruge merged 3 commits intoballerina-platform:masterfrom nureka-rodrigo:master
ThisaruGuruge merged 3 commits intoballerina-platform:masterfrom
nureka-rodrigo:master
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #603 +/- ##
=========================================
Coverage 82.22% 82.22%
Complexity 239 239
=========================================
Files 29 29
Lines 1367 1367
Branches 190 190
=========================================
Hits 1124 1124
Misses 197 197
Partials 46 46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
@ThisaruGuruge Could you please review this PR also? |
|
Contributor
Author
|
@ThisaruGuruge PRAM |
ThisaruGuruge
approved these changes
Sep 18, 2025
TharmiganK
pushed a commit
that referenced
this pull request
Oct 21, 2025
…e initialization vectors (#603) * Implement static code analysis rule to analyse hardcoded counter mode initialization vectors * Add Jackson Databind dependency and improve JSON normalization in tests * Add failure assertion for unhandled rules in StaticCodeAnalyzerTest (cherry picked from commit 4c3fa51)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose
Fix: ballerina-platform/ballerina-library#8010
Examples
Checklist