← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598040] [NEW] return `revoked_at` for the revocation event

 

Public bug reported:

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}}

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups