inspec/lib/bundles
Jerry Aldrich a3c993fe18 Fix OWCA detection for compliance login (#2401)
* 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>
2017-12-22 15:01:18 +01:00
..
inspec-artifact Rubocop: disable GuardClause and ClassLength (#2382) 2017-12-07 20:22:55 +01:00
inspec-compliance Fix OWCA detection for compliance login (#2401) 2017-12-22 15:01:18 +01:00
inspec-habitat Rubocop: disable GuardClause and ClassLength (#2382) 2017-12-07 20:22:55 +01:00
inspec-init Update the profile tempate (#2238) 2017-10-11 14:31:44 +01:00
inspec-supermarket Bump Rubocop to 0.49.1 (#2323) 2017-11-21 08:49:41 +01:00
inspec-artifact.rb adds profile signing/verification 2016-10-27 14:44:10 +02:00
inspec-compliance.rb add integration tests for compliance plugin 2016-04-29 01:12:53 +02:00
inspec-habitat.rb Adding a Habitat profile artifact creator 2017-02-23 18:25:22 -05:00
inspec-init.rb rename generate to init 2016-02-14 21:26:37 +01:00
inspec-supermarket.rb fix: remove non-existent class 2016-05-10 13:18:33 +02:00
README.md add registry for cli plugins 2016-02-05 14:06:55 +01:00

InSpec Bundled Plugins

This directory contains bundled InSpec plugins. Those plugins are shipped with InSpec temporarily only. Over the next months we are going to stabilize the InSpec Plugin API. Once this API reached stability, all bundled plugins will be externalized.