Skip to content

Support dotted-path sub-fact selection in facts_allowlist#228

Open
sbilo wants to merge 2 commits intopuppetlabs:mainfrom
sbilo:facts-allowlist-dotted-paths
Open

Support dotted-path sub-fact selection in facts_allowlist#228
sbilo wants to merge 2 commits intopuppetlabs:mainfrom
sbilo:facts-allowlist-dotted-paths

Conversation

@sbilo
Copy link
Copy Markdown

@sbilo sbilo commented Apr 14, 2026

Allows entries like 'networking.ip' in facts_allowlist so that only the specified sub-key is shipped to Splunk instead of the entire fact. Multiple dotted paths under the same top-level key are merged. Simple top-level names continue to work unchanged as single-part paths.

Also adds a spec for the facts indirector which previously had no unit test coverage.

Summary

Detailed Description

Checklist

[X ] Draft PR?
[ ] Ensure README is updated
[ ] Any changes to existing documentation
[ ] Anything new added
[ ] Link to external Puppet documentation
[ ] Review Support Playbook for any needed updates
[ ] Tags
[X ] Unit Tests
[ ] Acceptance Tests
[ ] PR title is "(Ticket|Maint) Short Description"
[ ] Commit title matches PR title

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 14, 2026

CLA assistant check
All committers have signed the CLA.

@sbilo
Copy link
Copy Markdown
Author

sbilo commented Apr 14, 2026

#227

Allows entries like 'networking.ip' in facts_allowlist so that only
the specified sub-key is shipped to Splunk instead of the entire fact.
Multiple dotted paths under the same top-level key are merged. Simple
top-level names continue to work unchanged as single-part paths.

Also adds a spec for the facts indirector which previously had no unit
test coverage.
@sbilo sbilo force-pushed the facts-allowlist-dotted-paths branch from db7c47a to 54eaa05 Compare April 14, 2026 09:55
@sbilo sbilo marked this pull request as ready for review April 14, 2026 10:03
@sbilo sbilo requested a review from a team as a code owner April 14, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants