Problem/Motivation
Sometimes you have a need of an audit log, to see who deployed what when. Currently we only see that a user deployed a plan, but not what was deployed in it.
Proposed resolution
Optionally (defaulting to false) log this information when deploying a plan.
This would allow the user to see on the watchdog what entities where deployed when and by whom.
Remaining tasks
Do it.
User interface changes
None.
API changes
Method addition to DeployEndpoint. We cannot do this from withing the deploy_log function becasue it does not have access to the DeployAggregator object in order to get the list of deployed entities.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 2918453-9.patch | 1.28 KB | manuel garcia |
| #9 | interdiff.txt | 1.06 KB | manuel garcia |
| #6 | 2918453-6.patch | 1.31 KB | manuel garcia |
| #6 | interdiff.txt | 383 bytes | manuel garcia |
| #4 | 2918453-4.patch | 1.68 KB | manuel garcia |
Comments
Comment #2
manuel garcia commentedComment #4
manuel garcia commentedFixing minor CS thingy.
Comment #6
manuel garcia commentedRemoving unnecessary extra line.
Comment #7
douggreen commentedwatchdog() strings should not be translated. Just be sure to pass arguments.
Comment #8
douggreen commentedSomething like (untested):
Comment #9
manuel garcia commentedThanks @douggreen for the review, addressing that now :)
Comment #11
manuel garcia commented