{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/7527","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/7527/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/7527/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/7527/events","html_url":"https://github.com/elastic/beats/pull/7527","id":338901676,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NzE4MDgw","number":7527,"title":"Add `bearer_token_file` paramter to HTTP helper","user":{"login":"exekias","id":299804,"node_id":"MDQ6VXNlcjI5OTgwNA==","avatar_url":"https://avatars1.githubusercontent.com/u/299804?v=4","gravatar_id":"","url":"https://api.github.com/users/exekias","html_url":"https://github.com/exekias","followers_url":"https://api.github.com/users/exekias/followers","following_url":"https://api.github.com/users/exekias/following{/other_user}","gists_url":"https://api.github.com/users/exekias/gists{/gist_id}","starred_url":"https://api.github.com/users/exekias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exekias/subscriptions","organizations_url":"https://api.github.com/users/exekias/orgs","repos_url":"https://api.github.com/users/exekias/repos","events_url":"https://api.github.com/users/exekias/events{/privacy}","received_events_url":"https://api.github.com/users/exekias/received_events","type":"User","site_admin":false},"labels":[{"id":331378892,"node_id":"MDU6TGFiZWwzMzEzNzg4OTI=","url":"https://api.github.com/repos/elastic/beats/labels/Metricbeat","name":"Metricbeat","color":"008000","default":false},{"id":78874874,"node_id":"MDU6TGFiZWw3ODg3NDg3NA==","url":"https://api.github.com/repos/elastic/beats/labels/enhancement","name":"enhancement","color":"fbca04","default":true},{"id":216798909,"node_id":"MDU6TGFiZWwyMTY3OTg5MDk=","url":"https://api.github.com/repos/elastic/beats/labels/in%20progress","name":"in progress","color":"207de5","default":false},{"id":228068770,"node_id":"MDU6TGFiZWwyMjgwNjg3NzA=","url":"https://api.github.com/repos/elastic/beats/labels/review","name":"review","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-06T11:16:52Z","updated_at":"2018-07-06T11:17:20Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/7527","html_url":"https://github.com/elastic/beats/pull/7527","diff_url":"https://github.com/elastic/beats/pull/7527.diff","patch_url":"https://github.com/elastic/beats/pull/7527.patch"},"body":"This change allows to load barer tokens from files in modules using\r\nthe HTTP helper. For instance:\r\n\r\n```\r\n- module: kubernetes\r\n  metricsets:\r\n    - pod\r\n  bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token\r\n  ssl.certificate_authorities:\r\n    - /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt\r\n```\r\n\r\nCloses #7518"},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/403005352","html_url":"https://github.com/elastic/beats/pull/7527#issuecomment-403005352","issue_url":"https://api.github.com/repos/elastic/beats/issues/7527","id":403005352,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzAwNTM1Mg==","user":{"login":"exekias","id":299804,"node_id":"MDQ6VXNlcjI5OTgwNA==","avatar_url":"https://avatars1.githubusercontent.com/u/299804?v=4","gravatar_id":"","url":"https://api.github.com/users/exekias","html_url":"https://github.com/exekias","followers_url":"https://api.github.com/users/exekias/followers","following_url":"https://api.github.com/users/exekias/following{/other_user}","gists_url":"https://api.github.com/users/exekias/gists{/gist_id}","starred_url":"https://api.github.com/users/exekias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exekias/subscriptions","organizations_url":"https://api.github.com/users/exekias/orgs","repos_url":"https://api.github.com/users/exekias/repos","events_url":"https://api.github.com/users/exekias/events{/privacy}","received_events_url":"https://api.github.com/users/exekias/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T11:17:20Z","updated_at":"2018-07-06T11:17:20Z","author_association":"MEMBER","body":"@vjsamuel, I think this should deprecate the `kubernetes.token` appender"}}
{"actor":{"display_login":"exekias"}}