Hello,
In lieu of granular unmanagement rights I have been tasked and thus working on a secure means of allowing for select people to modify the unmanagement details of specific nodes. My method will be a relatively simple PowerShell script that has some security checks (Does this user have the ability to unmanage node X?), and if it passes them it modifies the UnManaged, UnManageFrom, and UnManageUntil details for that node row in the Nodes table of the database.
However, I'd like for such actions to also show up in the audit log of Orion. Would this be as simple as adding a new line to the AuditingEvents table with the proper ActionTypeID, NetworkNode, and NetObjectID or is there more to it than that?
Can anyone shed some light on how the backend of the audit events is actually structured and functions?