Skip to content

feat(properties): bind excluded-semantic-detection-headers and detection-max-scan-seconds - #23

Merged
rennf93 merged 1 commit into
masterfrom
feat/detection-scan-settings
Oct 15, 2026
Merged

rennf93 merged 1 commit into
masterfrom
feat/detection-scan-settings

Conversation

@rennf93

@rennf93 rennf93 commented Oct 15, 2026

Copy link
Copy Markdown
Member

Closes #22

Adds guard.excluded-semantic-detection-headers and guard.detection-max-scan-seconds to GuardProperties with their GuardPropertiesMapper lines, plus binding assertions in GuardPropertiesBindingTest (shown failing on master: excludedSemanticDetectionHeaders bound [], then passing).

The pinned engine (9067b7b) predates the two builder fields, so the engine pin moves to 09dfddf (guard-core-jvm #53) in ci.yml, code-ql.yml, release.yml, settings.gradle.kts and the docs that name it.

I diffed the full SecurityConfigBuilder field list against GuardProperties: only these two bindable fields were missing. The remaining builder-only names (authVerifier, cloudIpStore, customRequestCheck, customResponseModifier, geoIpHandler, onBlock, onError) are callbacks or handler objects reachable through customizers, and dynamicRulesCachePathRaw and the three logSensitive*Raw fields are internal twins of properties that are already mapped.

Local gate: ./gradlew spotlessCheck detekt build --no-daemon passes with Redis on 6379.

@github-actions github-actions Bot added documentation Docs site, README, CHANGELOG, license files examples examples/ binaries ci GitHub Actions and pre-commit labels Oct 15, 2026
@rennf93
rennf93 merged commit 8b0c03f into master Oct 15, 2026
8 checks passed
@rennf93
rennf93 deleted the feat/detection-scan-settings branch October 15, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci GitHub Actions and pre-commit documentation Docs site, README, CHANGELOG, license files examples examples/ binaries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bind excluded-semantic-detection-headers and detection-max-scan-seconds

1 participant