I need to programmatically present all events for a given node from the latest report for audits of server Security Controls we're managing with Puppet - pretty much the way events look in the PE Console when looking at a report - whether the event was a success or not, and whether or not a resource property was changed or not. Querying Events (on puppetca: curl -G http://127.0.0.1:8080/pdb/query/v4/events --data-urlencode 'query=["=", "report", "fa6dcbc36b69174178e1234561d4c6e461017327"]' ) seems to only send results of resource properties that were changed by puppet (and returns nothing at all if there were no changes. Does anybody know how to get the events where there was no change?
Note: The resources
field is only offered in Puppet Enterprise (PE)
- Thomas