{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/secureheaders/issues/271","repository_url":"https://api.github.com/repos/twitter/secureheaders","labels_url":"https://api.github.com/repos/twitter/secureheaders/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/twitter/secureheaders/issues/271/comments","events_url":"https://api.github.com/repos/twitter/secureheaders/issues/271/events","html_url":"https://github.com/twitter/secureheaders/pull/271","id":164646321,"number":271,"title":"add support for 'require-sri-for' CSP directive","user":{"login":"oreoshake","id":448516,"avatar_url":"https://avatars.githubusercontent.com/u/448516?v=3","gravatar_id":"","url":"https://api.github.com/users/oreoshake","html_url":"https://github.com/oreoshake","followers_url":"https://api.github.com/users/oreoshake/followers","following_url":"https://api.github.com/users/oreoshake/following{/other_user}","gists_url":"https://api.github.com/users/oreoshake/gists{/gist_id}","starred_url":"https://api.github.com/users/oreoshake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oreoshake/subscriptions","organizations_url":"https://api.github.com/users/oreoshake/orgs","repos_url":"https://api.github.com/users/oreoshake/repos","events_url":"https://api.github.com/users/oreoshake/events{/privacy}","received_events_url":"https://api.github.com/users/oreoshake/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-09T03:01:07Z","updated_at":"2016-07-15T20:25:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twitter/secureheaders/pulls/271","html_url":"https://github.com/twitter/secureheaders/pull/271","diff_url":"https://github.com/twitter/secureheaders/pull/271.diff","patch_url":"https://github.com/twitter/secureheaders/pull/271.patch"},"body":"Fixes #264\r\n\r\n## All PRs:\r\n\r\n* [x] Has tests\r\n* [x] Documentation updated\r\n\r\n## Adding a new CSP directive\r\n\r\n* Is the directive supported by any user agent? If so, which?\r\n  * Chrome vSomething, Firefox 50+\r\n* What does it do?\r\n  * Ensures that all assets (scripts and styles for now) loaded have a valid integrity attribute per SRI\r\n* What are the valid values for the directive?\r\n  * `script` and `style` for now (unquoted, right?)\r\n\r\nSee https://codereview.chromium.org/2056183002/ and https://frederik-braun.com/new-csp-directive-to-make-subresource-integrity-mandatory-require-sri-for.html and https://gist.github.com/mozfreddyb/f4b7e79ab629a3ecff663f33d9a56e82\r\n\r\n/cc https://github.com/w3c/webappsec-subresource-integrity/pull/32\r\n"},"comment":{"url":"https://api.github.com/repos/twitter/secureheaders/issues/comments/233061050","html_url":"https://github.com/twitter/secureheaders/pull/271#issuecomment-233061050","issue_url":"https://api.github.com/repos/twitter/secureheaders/issues/271","id":233061050,"user":{"login":"oreoshake","id":448516,"avatar_url":"https://avatars.githubusercontent.com/u/448516?v=3","gravatar_id":"","url":"https://api.github.com/users/oreoshake","html_url":"https://github.com/oreoshake","followers_url":"https://api.github.com/users/oreoshake/followers","following_url":"https://api.github.com/users/oreoshake/following{/other_user}","gists_url":"https://api.github.com/users/oreoshake/gists{/gist_id}","starred_url":"https://api.github.com/users/oreoshake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oreoshake/subscriptions","organizations_url":"https://api.github.com/users/oreoshake/orgs","repos_url":"https://api.github.com/users/oreoshake/repos","events_url":"https://api.github.com/users/oreoshake/events{/privacy}","received_events_url":"https://api.github.com/users/oreoshake/received_events","type":"User","site_admin":true},"created_at":"2016-07-15T20:25:40Z","updated_at":"2016-07-15T20:25:40Z","body":"This needs UA sniffing for chrome too. It looks like Chrome 54 introduces console warnings on unrecognized directives :sad:"}}
{"actor":{"display_login":"oreoshake"}}