Skip to content

feat(api-detector-core): add shared exclusion rule engine - #73

Merged
Arc-E-Tect merged 1 commit into
mainfrom
feat/api-detector-core-exclusion-engine
Aug 22, 2026
Merged

feat(api-detector-core): add shared exclusion rule engine#73
Arc-E-Tect merged 1 commit into
mainfrom
feat/api-detector-core-exclusion-engine

Conversation

@Arc-E-Tect

Copy link
Copy Markdown
Owner

Summary

  • Adds a shared exclusion engine (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.
  • Rules are strings ("/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-actuator ships as the first one).
  • Adds org.yaml:snakeyaml as 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.

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
Arc-E-Tect merged commit bb77af8 into main Aug 22, 2026
4 checks passed
@Arc-E-Tect
Arc-E-Tect deleted the feat/api-detector-core-exclusion-engine branch August 22, 2026 18:12
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)
@Arc-E-Tect

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant