Method: Inspec::Resources::AzureVirtualMachine#has_ssh_keys?
- Defined in:
- lib/resources/azure/azure_virtual_machine.rb
#has_ssh_keys? ⇒ Boolean
Are any SSH Keys assigned to the machine
This allows the use of
it { should have_ssh_keys }
within the Inspec Profile
174 175 176 |
# File 'lib/resources/azure/azure_virtual_machine.rb', line 174 def has_ssh_keys? ssh_keys? end |