{"action":"created","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/2209","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/2209/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/2209/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/2209/events","html_url":"https://github.com/chef/inspec/pull/2209","id":262586720,"number":2209,"title":"http resource: properly execute tests on remote target","user":{"login":"adamleff","id":3221128,"avatar_url":"https://avatars1.githubusercontent.com/u/3221128?v=4","gravatar_id":"","url":"https://api.github.com/users/adamleff","html_url":"https://github.com/adamleff","followers_url":"https://api.github.com/users/adamleff/followers","following_url":"https://api.github.com/users/adamleff/following{/other_user}","gists_url":"https://api.github.com/users/adamleff/gists{/gist_id}","starred_url":"https://api.github.com/users/adamleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamleff/subscriptions","organizations_url":"https://api.github.com/users/adamleff/orgs","repos_url":"https://api.github.com/users/adamleff/repos","events_url":"https://api.github.com/users/adamleff/events{/privacy}","received_events_url":"https://api.github.com/users/adamleff/received_events","type":"User","site_admin":false},"labels":[{"id":441195009,"url":"https://api.github.com/repos/chef/inspec/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-03T21:07:31Z","updated_at":"2017-10-04T17:32:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/chef/inspec/pulls/2209","html_url":"https://github.com/chef/inspec/pull/2209","diff_url":"https://github.com/chef/inspec/pull/2209.diff","patch_url":"https://github.com/chef/inspec/pull/2209.patch"},"body":"Hack Day Project - Seattle Community Summit 2017!\n\nCurrently, the http resource always executes locally, even when scanning a remote machine with `--target` which leads to undesireable behavior.\n\nThis change adds the ability to remotely execute tests with curl. This behavior is currently opt-in with the `enable_remote_worker` flag, but will become the default behavior in InSpec 2.0. Deprecation warnings are emitted if the user is scanning a remote target but has not opted in to the new behavior.\n\nFixes #1436"},"comment":{"url":"https://api.github.com/repos/chef/inspec/issues/comments/334230777","html_url":"https://github.com/chef/inspec/pull/2209#issuecomment-334230777","issue_url":"https://api.github.com/repos/chef/inspec/issues/2209","id":334230777,"user":{"login":"adamleff","id":3221128,"avatar_url":"https://avatars1.githubusercontent.com/u/3221128?v=4","gravatar_id":"","url":"https://api.github.com/users/adamleff","html_url":"https://github.com/adamleff","followers_url":"https://api.github.com/users/adamleff/followers","following_url":"https://api.github.com/users/adamleff/following{/other_user}","gists_url":"https://api.github.com/users/adamleff/gists{/gist_id}","starred_url":"https://api.github.com/users/adamleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamleff/subscriptions","organizations_url":"https://api.github.com/users/adamleff/orgs","repos_url":"https://api.github.com/users/adamleff/repos","events_url":"https://api.github.com/users/adamleff/events{/privacy}","received_events_url":"https://api.github.com/users/adamleff/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T17:32:06Z","updated_at":"2017-10-04T17:32:06Z","author_association":"CONTRIBUTOR","body":"@schisamo I'm totally happy to support additional fall-through options. We already do this on the `port` resource, for example. This is an initial implementation and we'll happily accept enhancements to this... including an option to \"force local worker\" option if that's preferred. I haven't found anyone requesting that as of yet - it's all been people working-around the initial implementation of this by calling `command('curl')` so this felt like a good first step."}}
{"actor":{"display_login":"adamleff"}}