inspec/lib/bundles
Josh Hudson 2d44b6e5e0 Cached profiles with Compliance Fetcher (#3221)
* Leverage existance check in Compliance::Fetcher.resolve to not re-download locally cached profiles
* Move logic from Compliance::API.exist? to Compliance::API.profiles to reuse code in cases where we need to access profiles' metadata directly.
* Declare @upstream_sha256 if target is a string
* Handle other fetchers that don't support upstream_sha256 within Inspec::CachedFetcher.initialize
* Add initialize for Compliance::Fetcher to not pollute Fetchers::Url with its logic
* Add Compliance::Fetcher.sha256 to leverage upstream_sha256 instead of relying on inherited method from Fetchers::Url
* Revert changes to cached fetcher that are unnecessary after refactor
* Pacify the god of ruby syntax
* Move Compliance::API.profiles filtering logic to end of method to leverage normalization of mapped_profiles
* Add and update unit tests to support caching with Compliance::Fetcher.upstream_sha256

Signed-off-by: Josh Hudson <jhudson@chef.io>
2018-08-28 09:11:38 -04:00
..
inspec-artifact Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04:00
inspec-compliance Cached profiles with Compliance Fetcher (#3221) 2018-08-28 09:11:38 -04:00
inspec-habitat Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04:00
inspec-init Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04:00
inspec-supermarket Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04: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 Refactor 'inspec init profile' into a reusable component. (#3214) 2018-07-17 11:42:36 -04: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.