{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/2161","repository_url":"https://api.github.com/repos/hashicorp/vault","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/2161/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/2161/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/2161/events","html_url":"https://github.com/hashicorp/vault/pull/2161","id":193956908,"number":2161,"title":"Add socket audit backend","user":{"login":"hharnisc","id":1388079,"avatar_url":"https://avatars.githubusercontent.com/u/1388079?v=3","gravatar_id":"","url":"https://api.github.com/users/hharnisc","html_url":"https://github.com/hharnisc","followers_url":"https://api.github.com/users/hharnisc/followers","following_url":"https://api.github.com/users/hharnisc/following{/other_user}","gists_url":"https://api.github.com/users/hharnisc/gists{/gist_id}","starred_url":"https://api.github.com/users/hharnisc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hharnisc/subscriptions","organizations_url":"https://api.github.com/users/hharnisc/orgs","repos_url":"https://api.github.com/users/hharnisc/repos","events_url":"https://api.github.com/users/hharnisc/events{/privacy}","received_events_url":"https://api.github.com/users/hharnisc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T04:42:38Z","updated_at":"2016-12-07T05:04:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/vault/pulls/2161","html_url":"https://github.com/hashicorp/vault/pull/2161","diff_url":"https://github.com/hashicorp/vault/pull/2161.diff","patch_url":"https://github.com/hashicorp/vault/pull/2161.patch"},"body":"We're looking to use `Vault` at Buffer and need this backend to collect the audit information in our infrastructure. I think I've got all the docs updated along with the code. I tested this against a small python server that prints out the audit logs:\r\n\r\n```python\r\n#!/usr/bin/env python \r\n\r\n\"\"\" \r\nA simple echo server \r\n\"\"\" \r\n\r\nimport socket \r\n\r\nhost = '' \r\nport = 9090\r\nbacklog = 5 \r\nsize = 1024\r\ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM) \r\ns.bind((host,port)) \r\ns.listen(backlog) \r\nwhile 1: \r\n    client, address = s.accept() \r\n    data = client.recv(size) \r\n    if data: \r\n        print data\r\n```\r\n\r\nThanks for making `Vault` open source, its a wonderful project 👍 "},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/265356837","html_url":"https://github.com/hashicorp/vault/pull/2161#issuecomment-265356837","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/2161","id":265356837,"user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T05:04:41Z","updated_at":"2016-12-07T05:04:41Z","body":"Neat! Will look soon, would love to get this in for 0.6.4!"}}
{"actor":{"display_login":"jefferai"}}