You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the compliance_on_save and remediation_on_save allow for the ability to pass the job-result logger to the custom function.
Use Case
Writing a custom remediation or custom compliance function you can create a logger, but accessing the original job result isn't available, this can make logging in custom functions less useful in environments where the worker logs are not available to ordinary "users" of nautobot.
The text was updated successfully, but these errors were encountered:
Speaking with a client, in addition to the job-result logger being passed into the custom function, it would also be useful to have the user running the job also passed in to the customer function, if possible. The client proposed a use-case where users had read access to all devices in Nautobot but would like to restrict some users from making changes to some critical devices when using custom compliance with remediation.
Environment
Proposed Functionality
in the compliance_on_save and remediation_on_save allow for the ability to pass the job-result logger to the custom function.
Use Case
Writing a custom remediation or custom compliance function you can create a logger, but accessing the original job result isn't available, this can make logging in custom functions less useful in environments where the worker logs are not available to ordinary "users" of nautobot.
The text was updated successfully, but these errors were encountered: