{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/1461","labels_url":"https://api.github.com/repos/facebook/osquery/issues/1461/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/1461/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/1461/events","html_url":"https://github.com/facebook/osquery/pull/1461","id":102440758,"number":1461,"title":"Attempts to add a cli flag --enroll_secret_env","user":{"login":"blackfist","id":752444,"avatar_url":"https://avatars.githubusercontent.com/u/752444?v=3","gravatar_id":"","url":"https://api.github.com/users/blackfist","html_url":"https://github.com/blackfist","followers_url":"https://api.github.com/users/blackfist/followers","following_url":"https://api.github.com/users/blackfist/following{/other_user}","gists_url":"https://api.github.com/users/blackfist/gists{/gist_id}","starred_url":"https://api.github.com/users/blackfist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackfist/subscriptions","organizations_url":"https://api.github.com/users/blackfist/orgs","repos_url":"https://api.github.com/users/blackfist/repos","events_url":"https://api.github.com/users/blackfist/events{/privacy}","received_events_url":"https://api.github.com/users/blackfist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/osquery/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-21T18:43:15Z","updated_at":"2015-08-21T19:06:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/1461","html_url":"https://github.com/facebook/osquery/pull/1461","diff_url":"https://github.com/facebook/osquery/pull/1461.diff","patch_url":"https://github.com/facebook/osquery/pull/1461.patch"},"body":"In response to #1460 this pull request attempts (and fails) to create a flag `--enroll_secret_env` which would provide an environment variable. The code in this PR compiles and runs but creates segfaults.\r\n\r\n```\r\nAug 21 18:27:20 ip-172-31-28-89 kernel: [788874.184360] osqueryd[13990]: segfault at 0 ip 00007f4bbf668aea sp 00007fff1dda1308 error 4 in libc-2.19.so[7f4bbf5e0000+1bb000]\r\n```\r\n\r\nThis PR is intended to get the conversation going so we can decide how to implement this (if at all)."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/133533178","html_url":"https://github.com/facebook/osquery/pull/1461#issuecomment-133533178","issue_url":"https://api.github.com/repos/facebook/osquery/issues/1461","id":133533178,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T19:06:54Z","updated_at":"2015-08-21T19:06:54Z","body":"Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!"}}