Am Donnerstag, 28. Juni 2018 00:51:12 UTC+2 schrieb FE Williams: > > 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? >
IMHO: a change generates an event. no change generates no event. You might be looking after all the resources puppet tries to manage? https://puppet.com/docs/puppetdb/5.1/api/query/v4/resources.html The report endpoint also has some hint regarding your question: https://puppet.com/docs/puppetdb/5.1/api/query/v4/reports.html: *Note: The resources field is only offered in Puppet Enterprise (PE)* - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6eaf28a6-01b2-4ef3-810c-429e06f4744f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
