mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +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> |
||
---|---|---|
.. | ||
git.rb | ||
local.rb | ||
mock.rb | ||
url.rb |