← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598040] Re: return `revoked_at` for the revocation event

 

Reviewed:  https://review.openstack.org/336439
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=25e5227d23d7b8e1b2969a6b7dd6da4fe50972a4
Submitter: Jenkins
Branch:    master

commit 25e5227d23d7b8e1b2969a6b7dd6da4fe50972a4
Author: Dave Chen <wei.d.chen@xxxxxxxxx>
Date:   Fri Jul 1 16:40:18 2016 +0800

    Return `revoked_at` for list revoke events
    
    The field will help to figure out when the event is recorded, and thus
    give a clue on when the revocation was done.
    
    Change-Id: If5ba3bb9b68fff5f35be2b57af15584d69c6df8d
    Closes-Bug: #1598040


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1598040

Title:
  return `revoked_at` for the revocation event

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  Currently, the `revoked_at` is not returned when the API of getting
  revocation events are executed, the `revoked_at` is always available
  in the backends, get back this to the end user will help to give us
  the clue on what happened and when the token was revoked, especially,
  if the `issued_before` is set with a different time compared with
  `revoked_at`.

  Steps to reproduce,
  1. create a token.
  2. delete the token.
  3. list revoke events.

  The sample output as follow,
  {"events": [{"issued_before": "2016-06-27T06:12:52.000000Z", "audit_id": "MwPMflshThm7zj7lGcWOnQ"}, {"issued_before": "2016-06-27T07:35:31.000000Z", "audit_id": "nJpSKrzUQLq-jjygqvB-sA"}], "links": {"self": "http://10.239.159.68/identity/v3/OS-REVOKE/events";, "previous": null, "next": null}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1598040/+subscriptions


References