{"action":"created","issue":{"url":"https://api.github.com/repos/0xmachos/mOSL/issues/3","repository_url":"https://api.github.com/repos/0xmachos/mOSL","labels_url":"https://api.github.com/repos/0xmachos/mOSL/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/0xmachos/mOSL/issues/3/comments","events_url":"https://api.github.com/repos/0xmachos/mOSL/issues/3/events","html_url":"https://github.com/0xmachos/mOSL/issues/3","id":340769565,"node_id":"MDU6SXNzdWUzNDA3Njk1NjU=","number":3,"title":"macos_compatability_check: Find a way to get the OS release name","user":{"login":"0xmachos","id":30755149,"node_id":"MDQ6VXNlcjMwNzU1MTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/30755149?v=4","gravatar_id":"","url":"https://api.github.com/users/0xmachos","html_url":"https://github.com/0xmachos","followers_url":"https://api.github.com/users/0xmachos/followers","following_url":"https://api.github.com/users/0xmachos/following{/other_user}","gists_url":"https://api.github.com/users/0xmachos/gists{/gist_id}","starred_url":"https://api.github.com/users/0xmachos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xmachos/subscriptions","organizations_url":"https://api.github.com/users/0xmachos/orgs","repos_url":"https://api.github.com/users/0xmachos/repos","events_url":"https://api.github.com/users/0xmachos/events{/privacy}","received_events_url":"https://api.github.com/users/0xmachos/received_events","type":"User","site_admin":false},"labels":[{"id":945428128,"node_id":"MDU6TGFiZWw5NDU0MjgxMjg=","url":"https://api.github.com/repos/0xmachos/mOSL/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T19:33:01Z","updated_at":"2018-07-29T16:00:45Z","closed_at":"2018-07-29T16:00:45Z","author_association":"OWNER","body":"The [current method](https://github.com/0xmachos/mOSL/blob/master/Lockdown#L53-L67) of identifying the release name is not great. \r\n\r\nThere must be a way to extract the OS release name (e.g. High Sierra) from the system the script's running on. \r\n\r\nA possible solution is to run `strings` on the `System Information.app` binary: \r\n```\r\nstrings System\\ Information | grep 'macOS ' | tail -n 1\r\n```"},"comment":{"url":"https://api.github.com/repos/0xmachos/mOSL/issues/comments/408687349","html_url":"https://github.com/0xmachos/mOSL/issues/3#issuecomment-408687349","issue_url":"https://api.github.com/repos/0xmachos/mOSL/issues/3","id":408687349,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY4NzM0OQ==","user":{"login":"0xmachos","id":30755149,"node_id":"MDQ6VXNlcjMwNzU1MTQ5","avatar_url":"https://avatars1.githubusercontent.com/u/30755149?v=4","gravatar_id":"","url":"https://api.github.com/users/0xmachos","html_url":"https://github.com/0xmachos","followers_url":"https://api.github.com/users/0xmachos/followers","following_url":"https://api.github.com/users/0xmachos/following{/other_user}","gists_url":"https://api.github.com/users/0xmachos/gists{/gist_id}","starred_url":"https://api.github.com/users/0xmachos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xmachos/subscriptions","organizations_url":"https://api.github.com/users/0xmachos/orgs","repos_url":"https://api.github.com/users/0xmachos/repos","events_url":"https://api.github.com/users/0xmachos/events{/privacy}","received_events_url":"https://api.github.com/users/0xmachos/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T16:00:45Z","updated_at":"2018-07-29T16:00:45Z","author_association":"OWNER","body":"Current solution is to extract the name from `System Information.app`. This is pretty fragile, a proper programatic way is still preferred.\r\n\r\nClosing for now."}}
{"actor":{"display_login":"0xmachos"}}