Skip to content

fix auditing of resources addressed by name and payload filtering of on-demand resources - #154

Merged
notque merged 4 commits into
masterfrom
ironic-name-audit-fixes
Nov 3, 2026
Merged

notque merged 4 commits into
masterfrom
ironic-name-audit-fixes

Conversation

@notque

@notque notque commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Ironic accepts node names in place of UUIDs, so a request like PUT /v1/nodes//states/provision was audited as compute/baremetal/node/X/Xstates with no node ID, and that on-demand resource recorded payloads the mapping had disabled for nodes. Unmapped resources now inherit their parent's payloads settings, exclude/include also cover wrapped and list bodies, unmapped children of singletons get the singleton's type URI, and the new id_environ_key option lets a service hand over the ID it resolved for a name.

Heads-up: exclude now applies at any depth, so e.g. nova's metadata exclude also drops metadata inside action bodies, and unknown children of singletons change type URI from <service>/X... to <singleton>/X....

@notque
notque merged commit cfb40d8 into master Nov 3, 2026
1 check passed
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.

3 participants