feat(api-detector-core): add shared exclusion rule engine - #73
Merged
Conversation
Adds a reusable engine for excluding known-good gaps (e.g. Spring Boot Actuator endpoints, which are framework-provided rather than backed by a hand-written @RestController) from Shadow/Mirage/Doppelganger API Detector findings: rule parsing ("VERB path", Ant-style */** globs), Ant-style matching, YAML rule-file loading, and a registry of bundled well-known rule sets (starting with spring-boot-actuator). Adds org.yaml:snakeyaml as a dependency for the YAML loader. This lands the shared engine only; DSL/task wiring in the three detector plugins is a separate change in SoftwareEngineeringDoneRight-Gradle.
Arc-E-Tect
added a commit
that referenced
this pull request
Aug 22, 2026
# [1.3.0](api-detector-core-v1.2.1...api-detector-core-v1.3.0) (2026-08-22) ### ✨ New and updated features * **api-detector-core:** add shared exclusion rule engine ([#73](#73)) ([bb77af8](bb77af8)), closes [#73](#73) ### 🐛 Bug Fixes * **hexagonal-spring-rules:** align dependency-check config with sibling projects ([#71](#71)) ([769f76a](769f76a)), closes [#71](#71) ### 📝 Documentation * **sedr-library:** update README version to 1.0.0 [skip ci] ([2838a47](2838a47)) * **hexagonal-spring-rules:** update README version to 1.0.1 [skip ci] ([0c115a7](0c115a7)) * **api-detector-core:** update README version to 1.2.1 [skip ci] ([b4230b2](b4230b2)) ### 🔧 Misc * dependency updates for Library projects ([#72](#72)) ([2f7c387](2f7c387)), closes [#72](#72)
Owner
Author
|
🎉 This PR is included in version 1.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
ExclusionRule,ExclusionMatcher,ExclusionRuleFile,WellKnownExclusionSets,ExclusionFilter) for excluding known-good gaps — endpoints like Spring Boot Actuator's, which are framework-provided rather than backed by a hand-written@RestController— from Shadow/Mirage/Doppelganger API Detector findings."/actuator/health"or"GET /actuator/**", Ant-style*/**wildcards), the same format whether written inline, loaded from a YAML file, or bundled as a named well-known set (spring-boot-actuatorships as the first one).org.yaml:snakeyamlas a dependency for the YAML rule-file loader.Follow-up
DSL and task wiring for the three detector plugins (Shadow, Mirage, Doppelganger API Detector) is a separate change in
SoftwareEngineeringDoneRight-Gradle, built against this engine.