mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
a3c993fe18
* Add handling for OWCA login via `compliance login` OpsWorks Chef Automate currently returns a 200 for the `/compliance/version` endpoint and redirects to the Chef Manage page. This adds support to `inspec compliance login` to accept this as valid behavior and continue with the login. Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add test case for 200 response but no Chef Manage Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add debug info and split `determine_server_type` Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Appease RuboCop Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Remove forced returns from `determine_server_type` Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add `false` code path for non-200/non-401 response Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Reword debug messages Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> |
||
---|---|---|
.. | ||
api | ||
api_test.rb | ||
target_test.rb |