{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker-bench-security/issues/69","labels_url":"https://api.github.com/repos/docker/docker-bench-security/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker-bench-security/issues/69/comments","events_url":"https://api.github.com/repos/docker/docker-bench-security/issues/69/events","html_url":"https://github.com/docker/docker-bench-security/pull/69","id":99172251,"number":69,"title":"Fix filtering out docker-bench-security container from results","user":{"login":"petersellars","id":125287,"avatar_url":"https://avatars.githubusercontent.com/u/125287?v=3","gravatar_id":"","url":"https://api.github.com/users/petersellars","html_url":"https://github.com/petersellars","followers_url":"https://api.github.com/users/petersellars/followers","following_url":"https://api.github.com/users/petersellars/following{/other_user}","gists_url":"https://api.github.com/users/petersellars/gists{/gist_id}","starred_url":"https://api.github.com/users/petersellars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersellars/subscriptions","organizations_url":"https://api.github.com/users/petersellars/orgs","repos_url":"https://api.github.com/users/petersellars/repos","events_url":"https://api.github.com/users/petersellars/events{/privacy}","received_events_url":"https://api.github.com/users/petersellars/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker-bench-security/labels/dco/no","name":"dco/no","color":"ededed"},{"url":"https://api.github.com/repos/docker/docker-bench-security/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T10:13:43Z","updated_at":"2015-08-05T10:13:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker-bench-security/pulls/69","html_url":"https://github.com/docker/docker-bench-security/pull/69","diff_url":"https://github.com/docker/docker-bench-security/pull/69.diff","patch_url":"https://github.com/docker/docker-bench-security/pull/69.patch"},"body":"The filtering appears to be a result of the change to use names for running container made in this commit:\r\nhttps://github.com/docker/docker-bench-security/commit/de68752f30939397eaf01f889a4b2473c93e9e73#diff-3fb01832c41e63e84695c76e31a8e0f9\r\n\r\nThe grep still uses the short-uuid so fails to filter. This fix places the full name of the container in the benchcont variable so that it is filtered."},"comment":{"url":"https://api.github.com/repos/docker/docker-bench-security/issues/comments/127947491","html_url":"https://github.com/docker/docker-bench-security/pull/69#issuecomment-127947491","issue_url":"https://api.github.com/repos/docker/docker-bench-security/issues/69","id":127947491,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T10:13:44Z","updated_at":"2015-08-05T10:13:44Z","body":"Please sign your commits following these rules:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work\nThe easiest way to do this is to amend the last commit:\n~~~console\n$ git clone -b \"master\" git@github.com:petersellars/docker-bench-security.git somewhere\n$ cd somewhere\n$ git commit --amend -s --no-edit\n$ git push -f\n~~~\n\nAmmending updates the existing PR. You **DO NOT** need to open a new one.\n"}}