Make oslo rpc sanitization configuration project specific
Bug #1095587 reported by
Michael Still
This bug report is a duplicate of:
Bug #1268459: safe_log Does Not Sanitize Passwords in Lists.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Triaged
|
Medium
|
Unassigned |
Bug Description
Oslo incubator contains code to sanitize RPCs, but it is specific to nova. We should instead let each project configure it when they load the rpc libraries.
Changed in oslo: | |
milestone: | grizzly-3 → none |
affects: | oslo-incubator → oslo.messaging |
To post a comment you must log in.
You can see the nova specific code here:
https:/ /github. com/openstack/ oslo-incubator/ blob/15ae704d9/ openstack/ common/ rpc/common. py#L166
SANITIZE = {'set_admin_ password' : ('new_pass',),
'run_ instance' : ('admin_ password' ,), }
I could imagine Nova doing something like this:
rpc.register_ sanitize_ methods( SANITIZE)