Method: Inspec::Resources::AzureVirtualMachine#has_password_authentication?
- Defined in:
- lib/resources/azure/azure_virtual_machine.rb
#has_password_authentication? ⇒ Boolean
Does the machine allow password authentication
This allows the use of
it { should have_password_authentication }
within the Inspec profile
128 129 130 |
# File 'lib/resources/azure/azure_virtual_machine.rb', line 128 def has_password_authentication? password_authentication? end |