{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/844","repository_url":"https://api.github.com/repos/cloudfoundry/cli","labels_url":"https://api.github.com/repos/cloudfoundry/cli/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cli/issues/844/comments","events_url":"https://api.github.com/repos/cloudfoundry/cli/issues/844/events","html_url":"https://github.com/cloudfoundry/cli/issues/844","id":155642245,"number":844,"title":"showing null actor in 'cf events' when action is taken using a UAA client id","user":{"login":"boyang9527","id":5013402,"avatar_url":"https://avatars.githubusercontent.com/u/5013402?v=3","gravatar_id":"","url":"https://api.github.com/users/boyang9527","html_url":"https://github.com/boyang9527","followers_url":"https://api.github.com/users/boyang9527/followers","following_url":"https://api.github.com/users/boyang9527/following{/other_user}","gists_url":"https://api.github.com/users/boyang9527/gists{/gist_id}","starred_url":"https://api.github.com/users/boyang9527/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyang9527/subscriptions","organizations_url":"https://api.github.com/users/boyang9527/orgs","repos_url":"https://api.github.com/users/boyang9527/repos","events_url":"https://api.github.com/users/boyang9527/events{/privacy}","received_events_url":"https://api.github.com/users/boyang9527/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudfoundry/cli/labels/unscheduled","name":"unscheduled","color":"D9D9D9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-19T02:33:17Z","updated_at":"2016-05-19T02:33:19Z","closed_at":null,"body":"when I am granted through client-credential and use CC API to update an application, the events shows null  actor.\r\n\r\nCan we just show the actor field if actor_name is null? \r\n\r\nHere is a smple response from CC API that 'cf events' command invokes \r\n\r\n         \"entity\": {\r\n            \"type\": \"audit.app.update\",\r\n            \"actor\": \"cf-xxx-client\",\r\n            \"actor_type\": \"user\",\r\n            \"actor_name\": null,\r\n            \"actee\": \"9fd12ebf-efaf-4a12-b97c-3e9f8715a651\",\r\n            \"actee_type\": \"app\",\r\n            \"actee_name\": \"TestApp\",\r\n            \"timestamp\": \"2016-04-15T22:27:12Z\",\r\n            \"metadata\": {\r\n               \"request\": {\r\n                  \"instances\": 1\r\n               }\r\n            },\r\n            \"space_guid\": \"f5915cd0-adc8-4644-9edc-d878d321c77b\",\r\n            \"organization_guid\": \"93bc82dd-a981-4058-867b-721573e37f6a\"\r\n         }\r\n\r\n### Command\r\n\r\ncf events\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/comments/220212712","html_url":"https://github.com/cloudfoundry/cli/issues/844#issuecomment-220212712","issue_url":"https://api.github.com/repos/cloudfoundry/cli/issues/844","id":220212712,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T02:33:19Z","updated_at":"2016-05-19T02:33:19Z","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/119878441 \n\nThe labels on this github issue will be updated when the story is started."}}