Plugin interface for changelog model #6406

Closed
opened 2025-12-29 19:40:19 +01:00 by adam · 2 comments
Owner

Originally created by @abhi1693 on GitHub (Apr 26, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.2-dev

Feature type

New functionality

Proposed functionality

Ability to interact with the changelog methods via the plugins to provide greater flexibility for the developers.

Use case

My specific use-case needs to mask certain values in the changelogs so that they are not recorded, for example, unencrypted passwords. Or, exclude 1 or more fields from being recorded in the changelog altogether.

Database changes

I do not think there should be any.

External dependencies

None

Originally created by @abhi1693 on GitHub (Apr 26, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.2-dev ### Feature type New functionality ### Proposed functionality Ability to interact with the `changelog` methods via the plugins to provide greater flexibility for the developers. ### Use case My specific use-case needs to mask certain values in the changelogs so that they are not recorded, for example, unencrypted passwords. Or, exclude 1 or more fields from being recorded in the changelog altogether. ### Database changes I do not think there should be any. ### External dependencies None
adam added the status: acceptedtype: featuretopic: plugins labels 2025-12-29 19:40:19 +01:00
adam closed this issue 2025-12-29 19:40:19 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 26, 2022):

This will probably involve inserting a mechanism around snapshot() to better control the serialization of an object's data. A plugin author could override this method to exclude certain fields.

@jeremystretch commented on GitHub (Apr 26, 2022): This will probably involve inserting a mechanism around `snapshot()` to better control the serialization of an object's data. A plugin author could override this method to exclude certain fields.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 26, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 26, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6406