deb-ceilometer/ceilometer
Divya 6a532111bc Add user_id,project_id traits to audit events
The ceilometer audit events stored at the ceilometer database
currently don't have user_id/project_id associated with them
even though this information is available as part of the event
message payload. The user_id and project_id information has to
be stored as traits so that there's user/project context for each
event and these traits are required to apply RBAC-based rules
and filters on events. For eg., presence of these traits enable
db queries - like get all events for a project/user against events.
The audit event definition in the events yaml file already stores
payload.initiator.id as initiator_id but the initiator_id trait
is not a common trait across all events and thus this trait cannot
be used to apply RBAC filter against events.This changeset will
thus add user_id and project_id traits to the audit events namely
*.http.* and add useri_id and project_id as default traits for all
events.

DocImpact

Change-Id: If4034342c4e60d519f0ec96ae8895dcf78f8ad3b
blueprint: events-rbac
2015-08-26 20:23:29 +02:00
..
agent Merge "add poll history to avoid duplicate samples" 2015-08-20 20:10:08 +00:00
alarm do not translate debug logs 2015-08-12 22:43:52 -04:00
api Merge "Change and move the workers options to corresponding service section" 2015-08-19 22:52:27 +00:00
cmd Merge "Change and move the workers options to corresponding service section" 2015-08-19 22:52:27 +00:00
compute Merge "Avoid recording whole instance info in log" 2015-08-21 19:45:04 +00:00
database add Trove(DBaaS) events 2015-07-16 05:35:14 +00:00
dispatcher gnocchi: move to jsonpath_rw_ext 2015-08-25 12:56:15 +00:00
dns Handles dns.domain.exists event in Ceilometer 2015-07-20 17:23:01 +00:00
energy do not translate debug logs 2015-08-12 22:43:52 -04:00
event Add user_id,project_id traits to audit events 2015-08-26 20:23:29 +02:00
hacking Switch to the oslo_utils.fileutils 2015-07-19 23:46:28 +03:00
hardware Corrected unit of snmp based harware disk and memory meters 2015-07-31 12:10:39 -04:00
image Enable entry points for new declarative meters 2015-08-07 08:28:00 +00:00
ipmi Fix for rgw still throwing errors 2015-08-06 16:39:24 +00:00
locale Imported Translations from Transifex 2015-08-06 06:33:47 +00:00
meter Merge "Use jsonpath_rw_ext for meter/event definitions" 2015-08-25 13:09:22 +00:00
network Convert instance, bandwidth and SwiftMiddleware meters 2015-08-12 13:37:09 -04:00
objectstore Merge "do not translate debug logs" 2015-08-13 11:49:23 +00:00
profiler Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
publisher Merge "do not translate debug logs" 2015-08-13 11:49:23 +00:00
storage do not translate debug logs 2015-08-12 22:43:52 -04:00
telemetry Add handler of sample creation notification 2015-06-24 17:11:59 +08:00
tests Update tests to reflect WSME 0.8 fixes 2015-08-25 17:13:38 +00:00
transformer add flexible grouping key 2015-08-20 08:46:45 -04:00
__init__.py Disable eventlet monkey-patching of DNS 2015-01-19 12:45:23 +00:00
collector.py Use min and max on IntOpt option types 2015-08-15 11:11:01 -07:00
coordination.py Use start status of coodinator in tooz 2015-08-19 15:49:58 +08:00
exchange_control.py Implement consuming metrics from Magnum 2015-08-17 16:08:39 -04:00
i18n.py switch to oslo_i18n 2015-01-12 20:16:20 +08:00
keystone_client.py Optionally create trust for alarm actions 2015-05-27 05:57:06 +02:00
messaging.py Clean the re-implemented serializers in Ceilometer 2015-07-15 09:28:12 +08:00
middleware.py Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
neutron_client.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
notification.py Merge "add flexible grouping key" 2015-08-24 16:57:37 +00:00
nova_client.py Merge "Instance Cache in Node Discovery Pollster" 2015-07-29 17:44:57 +00:00
opts.py Change and move the workers options to corresponding service section 2015-08-12 20:31:51 +08:00
pipeline.py Merge "add flexible grouping key" 2015-08-24 16:57:37 +00:00
sample.py handle list payloads in notifications 2015-08-19 22:06:10 -04:00
service_base.py do not translate debug logs 2015-08-12 22:43:52 -04:00
service.py Do not use system config file for test 2015-08-26 07:47:03 +08:00
utils.py Change and move the workers options to corresponding service section 2015-08-12 20:31:51 +08:00
version.py Introduce Guru Meditation Reports into Ceilometer 2015-08-20 08:59:51 +08:00