Method: Inspec::Resources::Cmd#resource_id

Defined in:
lib/inspec/resources/command.rb

#resource_idObject

to_s method outputs the command which we are using here as UUID to identify resource and also it take cares of Redact output



97
98
99
# File 'lib/inspec/resources/command.rb', line 97

def resource_id
  to_s || "command"
end