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> |
||
---|---|---|
.. | ||
attributes_test.rb | ||
filter_table_test.rb | ||
gitfetcher_test.rb | ||
helper.rb | ||
inheritance_test.rb | ||
inspec_archive_test.rb | ||
inspec_artifact_test.rb | ||
inspec_check_test.rb | ||
inspec_detect_test.rb | ||
inspec_exec_automate_test.rb | ||
inspec_exec_json_test.rb | ||
inspec_exec_jsonmin_test.rb | ||
inspec_exec_junit_test.rb | ||
inspec_exec_test.rb | ||
inspec_json_profile_test.rb | ||
inspec_report_test.rb | ||
inspec_schema_test.rb | ||
inspec_shell_test.rb | ||
inspec_supermakert_test.rb | ||
inspec_test.rb | ||
inspec_vendor_test.rb | ||
plugins_test.rb |