inspec / inspec

InSpec: Auditing and Testing Framework
http://inspec.io
Other
2.85k stars 682 forks source link

Inspec does not allow passing `auth_methods` to the `Train` driver #5008

Open tomrobison opened 4 years ago

tomrobison commented 4 years ago

Detailed Description

Allow users to configure ssh authentication methods for infrastructure that utilizes keyboard-interactive such as Duo's and YubiKey's pam modules.

Context

@greenantdotcom provided great context in #1409.

Possible Implementation

Building upon @greenantdotcom's example, a 'working' solution is to update the inspec cli https://github.com/tomrobison/inspec/commit/545c05eba3cbe0f7ab710bdd318915149912729e and train options https://github.com/tomrobison/train/commit/4f77610686d68c50cdafa6d23ab033ddbab582b9.

As discussed in the original issue #1409, setting the auth_methods via a configuration file would be adequate.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.