mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
6ba4aaf630
* Add support for `git@` and HTTP basic auth This adds support for the following: ``` inspec exec git@github.com:private/example_profile inspec exec https://username:token@github.com/private/example_profile inspec exec https://username:password@webserver/private/example_profile ``` This also uses the Git fetcher when the URL ends in `.git`. Example: ``` git config credential.helper cache git ls-remote https://github.com/private/example_profile.git inspec exec https://github.com/private/example_profile.git ``` Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add documentation for `inspec exec` usage Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add tests for Git fetcher and `inspec exec` Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Add `opts` to branch of Git fetcher resolve logic Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Modify Git example comments Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Force `parse_uri` to attempt a parse Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> |
||
---|---|---|
.. | ||
bundles/inspec-supermarket | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
objects | ||
plugin | ||
profiles | ||
reporters | ||
resource_supports/aws | ||
resources | ||
source_readers | ||
utils | ||
attribute_registry_test.rb | ||
base_cli_test.rb | ||
cached_fetcher.rb | ||
file_provider_test.rb | ||
helper.rb | ||
impact_test.rb | ||
runner_test.rb | ||
shell_detector_test.rb |