ENT-13744: Extended inventory-fde module#123
Merged
nickanderson merged 1 commit intocfengine:masterfrom Feb 13, 2026
Merged
Conversation
4da09af to
b9d3829
Compare
craigcomstock
approved these changes
Feb 13, 2026
| classes: | ||
| linux:: | ||
| "_have_dmsetup" | ||
| expression => isexecutable("/sbin/dmsetup"); |
Contributor
There was a problem hiding this comment.
maybe add the path as a var since you will use it at least three times right?
add to stdlib paths from here?
nickanderson
added a commit
to nickanderson/masterfiles
that referenced
this pull request
Feb 13, 2026
Adds path[cryptsetup] alongside the existing path[dmsetup] entries. Used by the inventory-fde module (cfengine/modules#123) for LUKS keyslot metadata inspection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nickanderson
added a commit
to nickanderson/masterfiles
that referenced
this pull request
Feb 13, 2026
Adds path[cryptsetup] and (where missing) path[dmsetup] to the redhat, debian, opensuse, suse|sles, and archlinux|manjaro sections. Paths verified in containers for each platform: - archlinux: /usr/bin (all of /sbin, /usr/sbin -> /usr/bin) - redhat, debian, opensuse, suse|sles: /usr/sbin Used by the inventory-fde module (cfengine/modules#123) for LUKS keyslot metadata inspection.
842b57f to
b999a7d
Compare
Extended inventory-fde to report active dm-crypt cipher per volume and LUKS keyslot details (per-keyslot cipher and PBKDF algorithm). LUKS2 metadata is cached as JSON with a 24-hour TTL. Gracefully degrades when dmsetup or cryptsetup are absent. Tool paths are defined as variables for single-point configuration. Includes loopback test helper script and Mission Portal screenshot.
b999a7d to
486a05e
Compare
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.
Inventory full disk encryption status on Linux via sysfs and /proc/mounts. Reports active cipher per volume and per-keyslot cipher/PBKDF for security evaluation. LUKS2 metadata cached with 24-hour TTL. Degrades gracefully when dmsetup or cryptsetup are absent. Includes loopback test helper script.