Drop Recipe suffix from security recipe class names#172
Merged
Conversation
The docs system generates source code links by stripping the `Recipe` suffix from class names, producing broken 404 links for all 19 security recipes. Rename them to match the convention used by the other recipes. Fixes #171
sambsnyd
approved these changes
Apr 6, 2026
Member
sambsnyd
left a comment
There was a problem hiding this comment.
This reminds me of seeing classes with "test" in the package, class name, and method name. So you'd have test reports full of: com.myorg.component.test.ComponentTest.testTheComponent_test
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.
Summary
Renames all 19 security recipe classes to drop the
Recipesuffix (e.g.CachePoisoningRecipe→CachePoisoning), matching the convention used by the other 24 recipe classes in the repoUpdates all references in
security.yml,examples.yml, andrecipes.csvRenames corresponding test classes
Fixes Security related recipes Source Code Links broken #171
Test plan
./gradlew buildpasses (compilation, tests, CSV validation)