{"action":"created","issue":{"url":"https://api.github.com/repos/istio/istio/issues/5040","repository_url":"https://api.github.com/repos/istio/istio","labels_url":"https://api.github.com/repos/istio/istio/issues/5040/labels{/name}","comments_url":"https://api.github.com/repos/istio/istio/issues/5040/comments","events_url":"https://api.github.com/repos/istio/istio/issues/5040/events","html_url":"https://github.com/istio/istio/issues/5040","id":315571024,"number":5040,"title":"Authentication Policy missing `request.auth.claims` attribute","user":{"login":"theganyo","id":772731,"avatar_url":"https://avatars2.githubusercontent.com/u/772731?v=4","gravatar_id":"","url":"https://api.github.com/users/theganyo","html_url":"https://github.com/theganyo","followers_url":"https://api.github.com/users/theganyo/followers","following_url":"https://api.github.com/users/theganyo/following{/other_user}","gists_url":"https://api.github.com/users/theganyo/gists{/gist_id}","starred_url":"https://api.github.com/users/theganyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theganyo/subscriptions","organizations_url":"https://api.github.com/users/theganyo/orgs","repos_url":"https://api.github.com/users/theganyo/repos","events_url":"https://api.github.com/users/theganyo/events{/privacy}","received_events_url":"https://api.github.com/users/theganyo/received_events","type":"User","site_admin":false},"labels":[{"id":905361383,"url":"https://api.github.com/repos/istio/istio/labels/area/security/aaa","name":"area/security/aaa","color":"0e8a16","default":false},{"id":816498729,"url":"https://api.github.com/repos/istio/istio/labels/kind/blocking%20release","name":"kind/blocking release","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"theganyo","id":772731,"avatar_url":"https://avatars2.githubusercontent.com/u/772731?v=4","gravatar_id":"","url":"https://api.github.com/users/theganyo","html_url":"https://github.com/theganyo","followers_url":"https://api.github.com/users/theganyo/followers","following_url":"https://api.github.com/users/theganyo/following{/other_user}","gists_url":"https://api.github.com/users/theganyo/gists{/gist_id}","starred_url":"https://api.github.com/users/theganyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theganyo/subscriptions","organizations_url":"https://api.github.com/users/theganyo/orgs","repos_url":"https://api.github.com/users/theganyo/repos","events_url":"https://api.github.com/users/theganyo/events{/privacy}","received_events_url":"https://api.github.com/users/theganyo/received_events","type":"User","site_admin":false},"assignees":[{"login":"theganyo","id":772731,"avatar_url":"https://avatars2.githubusercontent.com/u/772731?v=4","gravatar_id":"","url":"https://api.github.com/users/theganyo","html_url":"https://github.com/theganyo","followers_url":"https://api.github.com/users/theganyo/followers","following_url":"https://api.github.com/users/theganyo/following{/other_user}","gists_url":"https://api.github.com/users/theganyo/gists{/gist_id}","starred_url":"https://api.github.com/users/theganyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theganyo/subscriptions","organizations_url":"https://api.github.com/users/theganyo/orgs","repos_url":"https://api.github.com/users/theganyo/repos","events_url":"https://api.github.com/users/theganyo/events{/privacy}","received_events_url":"https://api.github.com/users/theganyo/received_events","type":"User","site_admin":false},{"login":"douglas-reid","id":21148125,"avatar_url":"https://avatars3.githubusercontent.com/u/21148125?v=4","gravatar_id":"","url":"https://api.github.com/users/douglas-reid","html_url":"https://github.com/douglas-reid","followers_url":"https://api.github.com/users/douglas-reid/followers","following_url":"https://api.github.com/users/douglas-reid/following{/other_user}","gists_url":"https://api.github.com/users/douglas-reid/gists{/gist_id}","starred_url":"https://api.github.com/users/douglas-reid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglas-reid/subscriptions","organizations_url":"https://api.github.com/users/douglas-reid/orgs","repos_url":"https://api.github.com/users/douglas-reid/repos","events_url":"https://api.github.com/users/douglas-reid/events{/privacy}","received_events_url":"https://api.github.com/users/douglas-reid/received_events","type":"User","site_admin":false},{"login":"lei-tang","id":32078630,"avatar_url":"https://avatars1.githubusercontent.com/u/32078630?v=4","gravatar_id":"","url":"https://api.github.com/users/lei-tang","html_url":"https://github.com/lei-tang","followers_url":"https://api.github.com/users/lei-tang/followers","following_url":"https://api.github.com/users/lei-tang/following{/other_user}","gists_url":"https://api.github.com/users/lei-tang/gists{/gist_id}","starred_url":"https://api.github.com/users/lei-tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lei-tang/subscriptions","organizations_url":"https://api.github.com/users/lei-tang/orgs","repos_url":"https://api.github.com/users/lei-tang/repos","events_url":"https://api.github.com/users/lei-tang/events{/privacy}","received_events_url":"https://api.github.com/users/lei-tang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2018-04-18T17:23:04Z","updated_at":"2018-05-10T19:45:27Z","closed_at":null,"author_association":"MEMBER","body":"The new Authentication Policy should expose a `request.auth.claims` attribute. See: https://preliminary.istio.io/docs/concepts/security/authn-policy.html.\r\n\r\nHowever, this attribute hasn't been defined for Mixer. I get an error attempting to use it (in 0.7.1, 0.8, and HEAD):\r\n\r\n2018-04-18T00:20:16.772654Z\terror\tUnable to initialize adapter: snapshot='6', handler='apigee-handler.apigee.istio-system', adapter='apigee', err='cannot infer type information from params in instanceConfig 'apigee.authorization.istio-system': failed to evaluate expression for field 'Subject'; failed to evaluate expression for field 'Subject.Properties[encoded_claims]'; unknown attribute request.auth.claims’.\r\n\r\nThis attribute is a must-have for me to use the policy. Thanks!"},"comment":{"url":"https://api.github.com/repos/istio/istio/issues/comments/388164072","html_url":"https://github.com/istio/istio/issues/5040#issuecomment-388164072","issue_url":"https://api.github.com/repos/istio/istio/issues/5040","id":388164072,"user":{"login":"theganyo","id":772731,"avatar_url":"https://avatars2.githubusercontent.com/u/772731?v=4","gravatar_id":"","url":"https://api.github.com/users/theganyo","html_url":"https://github.com/theganyo","followers_url":"https://api.github.com/users/theganyo/followers","following_url":"https://api.github.com/users/theganyo/following{/other_user}","gists_url":"https://api.github.com/users/theganyo/gists{/gist_id}","starred_url":"https://api.github.com/users/theganyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theganyo/subscriptions","organizations_url":"https://api.github.com/users/theganyo/orgs","repos_url":"https://api.github.com/users/theganyo/repos","events_url":"https://api.github.com/users/theganyo/events{/privacy}","received_events_url":"https://api.github.com/users/theganyo/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T19:45:27Z","updated_at":"2018-05-10T19:45:27Z","author_association":"MEMBER","body":"After discussing with @mandarjog, we've decided to move forward with the string map and file a separate issue against the proxy for it to include raw string values for all claims. Meanwhile, I'll submit a PR for this shortly."}}
{"actor":{"display_login":"theganyo"}}