Thanks for your quick response, Thomas!
I'll try grabbing all by node from the resources endpoint and merging the 
few events into that result.

Thanks,
Gene

On Thursday, June 28, 2018 at 6:27:58 AM UTC-5, Thomas Müller wrote:
>
>
>
> 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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ca47ade0-07dd-4a21-a6e0-31f6f63c15cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to