Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
Alongside PDB-2632, we should provide a mechanism for projection leaf values inside a hash, for example on the new `inventory` and existing `resources` endpoint we have facts, trusted and parameters. The proposal is to use the dotted notation to express this projection in PQL (and some adequate way in AST also).
The deliverable here is that this kind of thing should work:
inventory[facts.uptime]{ facts.operatingsystem = "foo" }
|
inventory[certname, facts.sshrsakey, facts.sshecdsakey] {
|
facts.os.family = "RedHat" and
|
facts.os.release.major = "7"
|
}
|