← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323341] [NEW] Replace magic value 'service/security' in CADF notifications

 

Public bug reported:

In the _send_audit_notification method of the CadfNotificationWrapper
class, there in magic value used at line 290,
https://github.com/openstack/keystone/blob/master/keystone/notifications.py#L290

observer=resource.Resource(typeURI='service/security'))

In the latest release of pycadf, a constant was created, so we may now
use that value.

pyCADF change:
https://github.com/openstack/pycadf/commit/f7fc5ac01252347e050b3516be94933c31d28af9

** Affects: keystone
     Importance: Undecided
     Assignee: Steve Martinelli (stevemar)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1323341

Title:
  Replace magic value 'service/security' in CADF notifications

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  In the _send_audit_notification method of the CadfNotificationWrapper
  class, there in magic value used at line 290,
  https://github.com/openstack/keystone/blob/master/keystone/notifications.py#L290

  observer=resource.Resource(typeURI='service/security'))

  In the latest release of pycadf, a constant was created, so we may now
  use that value.

  pyCADF change:
  https://github.com/openstack/pycadf/commit/f7fc5ac01252347e050b3516be94933c31d28af9

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


Follow ups

References