Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
So the code should look more or less like this:
The problem is that
It is also more than a bit weird that there appear to be spec tests for
there's also lines in the audit reporter that look like this:
if that is the Chef::RunStatus object from core chef the it shouldn't have an entity_uuid method and didn't have on in Chef-14 so now I'm super confused.
@lamont-granquist thanks for assisting with this change.
I looked into it as well.
 pry(#<Chef::Handler::AuditReport>)> run_status.class => Chef::RunStatus  pry(#<Chef::Handler::AuditReport>)> run_status => #<Chef::RunStatus:0x0000000003c9e2c8 @end_time=2019-05-31 18:19:25 +0000, @events= #<Chef::EventDispatch::Dispatcher:0x0000000003c9e368 @event_list=, @in_call=false, ...