{"action":"created","issue":{"url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/43","labels_url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/43/comments","events_url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/43/events","html_url":"https://github.com/certsocietegenerale/FIR/pull/43","id":118178210,"number":43,"title":"Structuring of REST API","user":{"login":"byt3smith","id":6267544,"avatar_url":"https://avatars.githubusercontent.com/u/6267544?v=3","gravatar_id":"","url":"https://api.github.com/users/byt3smith","html_url":"https://github.com/byt3smith","followers_url":"https://api.github.com/users/byt3smith/followers","following_url":"https://api.github.com/users/byt3smith/following{/other_user}","gists_url":"https://api.github.com/users/byt3smith/gists{/gist_id}","starred_url":"https://api.github.com/users/byt3smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byt3smith/subscriptions","organizations_url":"https://api.github.com/users/byt3smith/orgs","repos_url":"https://api.github.com/users/byt3smith/repos","events_url":"https://api.github.com/users/byt3smith/events{/privacy}","received_events_url":"https://api.github.com/users/byt3smith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-21T07:20:48Z","updated_at":"2015-11-24T13:15:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/certsocietegenerale/FIR/pulls/43","html_url":"https://github.com/certsocietegenerale/FIR/pull/43","diff_url":"https://github.com/certsocietegenerale/FIR/pull/43.diff","patch_url":"https://github.com/certsocietegenerale/FIR/pull/43.patch"},"body":"### FIR REST API\r\nI began work on implementing a REST api for FIR using the Django REST Framework. So far you can get a list of users, groups, and incidents using GET verb, and you can use POST to /api/incidents to create a new event. \r\n\r\nThis is just the beginning of the possibilities. I plan to add the ability to:\r\n* Close incidents\r\n* Trigger notifications to be sent using fir_alerting\r\n* Download incident reports, etc..\r\n\r\nLet me know if these are features you would also like to see added. If not I will keep them in my personal repository"},"comment":{"url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/comments/159262986","html_url":"https://github.com/certsocietegenerale/FIR/pull/43#issuecomment-159262986","issue_url":"https://api.github.com/repos/certsocietegenerale/FIR/issues/43","id":159262986,"user":{"login":"tomchop","id":1257972,"avatar_url":"https://avatars.githubusercontent.com/u/1257972?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchop","html_url":"https://github.com/tomchop","followers_url":"https://api.github.com/users/tomchop/followers","following_url":"https://api.github.com/users/tomchop/following{/other_user}","gists_url":"https://api.github.com/users/tomchop/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchop/subscriptions","organizations_url":"https://api.github.com/users/tomchop/orgs","repos_url":"https://api.github.com/users/tomchop/repos","events_url":"https://api.github.com/users/tomchop/events{/privacy}","received_events_url":"https://api.github.com/users/tomchop/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T13:15:12Z","updated_at":"2015-11-24T13:15:12Z","body":"@byt3smith: Thanks a lot for this contribution! It was definitely on our roadmap so this will be of great help to us. We'll review it in the next few days; we're probably going to keep improving it so that we can map tokens to users and authenticate with that.\r\n\r\n@sroberts: I'm building a FIR module to integrate the threat intel platform I'm currently working on (which will probably take big inputs from threat_note)... keep you posted on that soon."}}