{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/1332","repository_url":"https://api.github.com/repos/puppetlabs/facter","labels_url":"https://api.github.com/repos/puppetlabs/facter/issues/1332/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/facter/issues/1332/comments","events_url":"https://api.github.com/repos/puppetlabs/facter/issues/1332/events","html_url":"https://github.com/puppetlabs/facter/pull/1332","id":154581380,"number":1332,"title":"(FACT-1419) add superuser element to identity fact","user":{"login":"mruzicka","id":562920,"avatar_url":"https://avatars.githubusercontent.com/u/562920?v=3","gravatar_id":"","url":"https://api.github.com/users/mruzicka","html_url":"https://github.com/mruzicka","followers_url":"https://api.github.com/users/mruzicka/followers","following_url":"https://api.github.com/users/mruzicka/following{/other_user}","gists_url":"https://api.github.com/users/mruzicka/gists{/gist_id}","starred_url":"https://api.github.com/users/mruzicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruzicka/subscriptions","organizations_url":"https://api.github.com/users/mruzicka/orgs","repos_url":"https://api.github.com/users/mruzicka/repos","events_url":"https://api.github.com/users/mruzicka/events{/privacy}","received_events_url":"https://api.github.com/users/mruzicka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-05-12T21:05:29Z","updated_at":"2016-05-17T15:46:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/facter/pulls/1332","html_url":"https://github.com/puppetlabs/facter/pull/1332","diff_url":"https://github.com/puppetlabs/facter/pull/1332.diff","patch_url":"https://github.com/puppetlabs/facter/pull/1332.patch"},"body":"This commit adds the `superuser` flag as another element of the `identity` structured fact.\r\n\r\nIt is a boolean flag which is set to `true` if the facter process runs with UID of 0 on *NIX systems or with the privileges of the local Administrators group on Windows. Under any other circumstances the flag is set to `false`."},"comment":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/comments/219760978","html_url":"https://github.com/puppetlabs/facter/pull/1332#issuecomment-219760978","issue_url":"https://api.github.com/repos/puppetlabs/facter/issues/1332","id":219760978,"user":{"login":"jtappa","id":605271,"avatar_url":"https://avatars.githubusercontent.com/u/605271?v=3","gravatar_id":"","url":"https://api.github.com/users/jtappa","html_url":"https://github.com/jtappa","followers_url":"https://api.github.com/users/jtappa/followers","following_url":"https://api.github.com/users/jtappa/following{/other_user}","gists_url":"https://api.github.com/users/jtappa/gists{/gist_id}","starred_url":"https://api.github.com/users/jtappa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtappa/subscriptions","organizations_url":"https://api.github.com/users/jtappa/orgs","repos_url":"https://api.github.com/users/jtappa/repos","events_url":"https://api.github.com/users/jtappa/events{/privacy}","received_events_url":"https://api.github.com/users/jtappa/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T15:46:36Z","updated_at":"2016-05-17T15:46:36Z","body":"`privileged` is fine with me."}}