{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/3304","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/3304/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/3304/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/3304/events","html_url":"https://github.com/facebook/osquery/pull/3304","id":230509630,"number":3304,"title":"Linux software RAID table","user":{"login":"allanliu","id":3030664,"avatar_url":"https://avatars3.githubusercontent.com/u/3030664?v=3","gravatar_id":"","url":"https://api.github.com/users/allanliu","html_url":"https://github.com/allanliu","followers_url":"https://api.github.com/users/allanliu/followers","following_url":"https://api.github.com/users/allanliu/following{/other_user}","gists_url":"https://api.github.com/users/allanliu/gists{/gist_id}","starred_url":"https://api.github.com/users/allanliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanliu/subscriptions","organizations_url":"https://api.github.com/users/allanliu/orgs","repos_url":"https://api.github.com/users/allanliu/repos","events_url":"https://api.github.com/users/allanliu/events{/privacy}","received_events_url":"https://api.github.com/users/allanliu/received_events","type":"User","site_admin":false},"labels":[{"id":196858822,"url":"https://api.github.com/repos/facebook/osquery/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false},{"id":118805409,"url":"https://api.github.com/repos/facebook/osquery/labels/Linux","name":"Linux","color":"d4c5f9","default":false},{"id":144337630,"url":"https://api.github.com/repos/facebook/osquery/labels/needs%20response","name":"needs response","color":"f7c6c7","default":false},{"id":118805314,"url":"https://api.github.com/repos/facebook/osquery/labels/virtual%20tables","name":"virtual tables","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2017-05-22T20:26:41Z","updated_at":"2017-06-20T14:43:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/3304","html_url":"https://github.com/facebook/osquery/pull/3304","diff_url":"https://github.com/facebook/osquery/pull/3304.diff","patch_url":"https://github.com/facebook/osquery/pull/3304.patch"},"body":"This table contains information for a hosts software RAID by both parsing `/proc/mdstat` and talking to the md device drivers.  The reason that both methods were needed was because certain information could easily be extracted from the `/proc/mdstat` file, while others were either completely unavailable or rather error prone to extract.   Due to the difficulty in predicting all possible permutations of conditions that could arise in the wild, unit tests were added in the areas that looked to be the most susceptible to unhandled or improperly handled scenarios.  The tests are structured in a way that should allow us to easily represent what we see in the wild as a test scenario, then fix and validate accordingly.\r\n\r\nThere are also some functions in this table module that might be better put somewhere else, please let me know if anything needs to be moved."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/309779917","html_url":"https://github.com/facebook/osquery/pull/3304#issuecomment-309779917","issue_url":"https://api.github.com/repos/facebook/osquery/issues/3304","id":309779917,"user":{"login":"osqueryer","id":9722826,"avatar_url":"https://avatars3.githubusercontent.com/u/9722826?v=3","gravatar_id":"","url":"https://api.github.com/users/osqueryer","html_url":"https://github.com/osqueryer","followers_url":"https://api.github.com/users/osqueryer/followers","following_url":"https://api.github.com/users/osqueryer/following{/other_user}","gists_url":"https://api.github.com/users/osqueryer/gists{/gist_id}","starred_url":"https://api.github.com/users/osqueryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osqueryer/subscriptions","organizations_url":"https://api.github.com/users/osqueryer/orgs","repos_url":"https://api.github.com/users/osqueryer/repos","events_url":"https://api.github.com/users/osqueryer/events{/privacy}","received_events_url":"https://api.github.com/users/osqueryer/received_events","type":"User","site_admin":false},"created_at":"2017-06-20T14:43:44Z","updated_at":"2017-06-20T14:43:44Z","body":":-1: The commit 7c18fdb829bda0a362ae59d9624074ae198a7ad0 (Job results: [5120](https://jenkins.osquery.io/job/osqueryPullRequestLinux/5120/)) failed one or more tests (**Linux**).\n"}}
{"actor":{"display_login":"osqueryer"}}