payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/inspec/inspec/issues/3891","repository_url":"https://api.github.com/repos/inspec/inspec","labels_url":"https://api.github.com/repos/inspec/inspec/issues/3891/labels{/name}","comments_url":"https://api.github.com/repos/inspec/inspec/issues/3891/comments","events_url":"https://api.github.com/repos/inspec/inspec/issues/3891/events","html_url":"https://github.com/inspec/inspec/issues/3891","id":421272020,"node_id":"MDU6SXNzdWU0MjEyNzIwMjA=","number":3891,"title":"inspec compliance exec command fails after successful login","user":{"login":"rybons","id":38738353,"node_id":"MDQ6VXNlcjM4NzM4MzUz","avatar_url":"https://avatars2.githubusercontent.com/u/38738353?v=4","gravatar_id":"","url":"https://api.github.com/users/rybons","html_url":"https://github.com/rybons","followers_url":"https://api.github.com/users/rybons/followers","following_url":"https://api.github.com/users/rybons/following{/other_user}","gists_url":"https://api.github.com/users/rybons/gists{/gist_id}","starred_url":"https://api.github.com/users/rybons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rybons/subscriptions","organizations_url":"https://api.github.com/users/rybons/orgs","repos_url":"https://api.github.com/users/rybons/repos","events_url":"https://api.github.com/users/rybons/events{/privacy}","received_events_url":"https://api.github.com/users/rybons/received_events","type":"User","site_admin":false},"labels":[{"id":323625206,"node_id":"MDU6TGFiZWwzMjM2MjUyMDY=","url":"https://api.github.com/repos/inspec/inspec/labels/CLI:%20compliance","name":"CLI: compliance","color":"bfd4f2","default":false},{"id":1254787504,"node_id":"MDU6TGFiZWwxMjU0Nzg3NTA0","url":"https://api.github.com/repos/inspec/inspec/labels/Triage/Needs%20Spike","name":"Triage/Needs Spike","color":"0e8a16","default":false},{"id":253920983,"node_id":"MDU6TGFiZWwyNTM5MjA5ODM=","url":"https://api.github.com/repos/inspec/inspec/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929","default":false},{"id":1129081941,"node_id":"MDU6TGFiZWwxMTI5MDgxOTQx","url":"https://api.github.com/repos/inspec/inspec/labels/Type:%20Regression","name":"Type: Regression","color":"c61b2c","default":false}],"state":"closed","locked":false,"assignee":{"login":"clintoncwolfe","id":156460,"node_id":"MDQ6VXNlcjE1NjQ2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/156460?v=4","gravatar_id":"","url":"https://api.github.com/users/clintoncwolfe","html_url":"https://github.com/clintoncwolfe","followers_url":"https://api.github.com/users/clintoncwolfe/followers","following_url":"https://api.github.com/users/clintoncwolfe/following{/other_user}","gists_url":"https://api.github.com/users/clintoncwolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/clintoncwolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintoncwolfe/subscriptions","organizations_url":"https://api.github.com/users/clintoncwolfe/orgs","repos_url":"https://api.github.com/users/clintoncwolfe/repos","events_url":"https://api.github.com/users/clintoncwolfe/events{/privacy}","received_events_url":"https://api.github.com/users/clintoncwolfe/received_events","type":"User","site_admin":false},"assignees":[{"login":"clintoncwolfe","id":156460,"node_id":"MDQ6VXNlcjE1NjQ2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/156460?v=4","gravatar_id":"","url":"https://api.github.com/users/clintoncwolfe","html_url":"https://github.com/clintoncwolfe","followers_url":"https://api.github.com/users/clintoncwolfe/followers","following_url":"https://api.github.com/users/clintoncwolfe/following{/other_user}","gists_url":"https://api.github.com/users/clintoncwolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/clintoncwolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintoncwolfe/subscriptions","organizations_url":"https://api.github.com/users/clintoncwolfe/orgs","repos_url":"https://api.github.com/users/clintoncwolfe/repos","events_url":"https://api.github.com/users/clintoncwolfe/events{/privacy}","received_events_url":"https://api.github.com/users/clintoncwolfe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2019-03-14T22:23:35Z","updated_at":"2019-10-31T21:18:48Z","closed_at":"2019-10-31T21:18:48Z","author_association":"NONE","body":"### 🎛 Description\r\n\r\nUnable to run `inspec compliance exec <profile>` for a variety of profiles I have stored in Automate 2.\r\n\r\n**Choose one:** is this a 🐛 bug report or 🙋 feature request?\r\n\r\n🐛 report\r\n\r\nBriefly describe the issue and the expected behavior. Also, please be aware of our [Code of Conduct](https://github.com/inspec/inspec/blob/master/CODE_OF_CONDUCT.md).\r\n\r\n### 🌍 InSpec and Platform Version\r\n\r\nMac OS 10.14.3\r\nInspec 3.7.1\r\n\r\n### 🤔 Replication Case\r\n\r\n1. Log into an automate server:\r\n\r\n```\r\nme$ inspec compliance login https://automate.server.com --insecure true --user admin --token <token>`\r\nStored configuration for Chef Automate2: https://automate.server.com/api/v0' with user: 'admin'\r\n```\r\n\r\n2. Get a list of profiles:\r\n\r\n```\r\nme$ inspec compliance profiles\r\n ──────────────────────────── Available profiles: ──────────────────────────── \r\n\r\n• DevSec Linux Security Baseline v2.2.2 (admin/linux-baseline)\r\n[...]\r\n```\r\n\r\n3. Try to execute a profile:\r\n\r\n```\r\nme$ inspec compliance exec admin/linux-baseline\r\nTraceback (most recent call last):\r\n        12: from /usr/local/bin/inspec:121:in `<main>'\r\n        11: from /usr/local/bin/inspec:121:in `load'\r\n        10: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/inspec-3.7.1/bin/inspec:12:in `<top (required)>'\r\n         9: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'\r\n         8: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'\r\n         7: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'\r\n         6: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'\r\n         5: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'\r\n         4: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'\r\n         3: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'\r\n         2: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'\r\n         1: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'\r\n/opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/inspec-3.7.1/lib/plugins/inspec-compliance/lib/inspec-compliance/cli.rb:75:in `exec': undefined method `opts' for #<InspecPlugins::Compliance::CLI:0x00007faf39a59b88> (NoMethodError)\r\n```\r\n\r\n### 💁 Possible Solutions\r\n\r\nA colleague who is not on MacOS was unable to reproduce this.\r\n\r\n### 💻 Stacktrace\r\n\r\n```\r\nTraceback (most recent call last):\r\n        12: from /usr/local/bin/inspec:121:in `<main>'\r\n        11: from /usr/local/bin/inspec:121:in `load'\r\n        10: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/inspec-3.7.1/bin/inspec:12:in `<top (required)>'\r\n         9: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'\r\n         8: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'\r\n         7: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'\r\n         6: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'\r\n         5: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'\r\n         4: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'\r\n         3: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'\r\n         2: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'\r\n         1: from /opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'\r\n/opt/inspec/embedded/lib/ruby/gems/2.5.0/gems/inspec-3.7.1/lib/plugins/inspec-compliance/lib/inspec-compliance/cli.rb:75:in `exec': undefined method `opts' for #<InspecPlugins::Compliance::CLI:0x00007faf39a59b88> (NoMethodError)\r\n```\r\n"}}
other: {"actor":{"display_login":"miah"}}