mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
As noted in the bug, several of the API command in question are async calls. I've added a simple regex-based string cleaning function, and have the request and response strings running through it prior to being appended to the audit log. Unit tests added for the new cleaning function as well. The call to skip logging the createSSHKeyPair response remains intact for now, although it should probably be scrubbed similarly to the password fields. Signed-off-by: Chip Childers <chip.childers@gmail.com>