netbox-secretstore
netbox-secretstore copied to clipboard
Last updated filter on Secrets
Plugin version
v1.0.14
netbox-plugin-extensions version
v1.1.1
NetBox version
v3.1.11
Feature type
Change to existing functionality
Proposed functionality
It would be nice to be able to filter secrets based on their last_updated
time. I believe this can be achieved by just having filtersets.SecretFilterSet
inherit ChangeLoggedModelFilterSet
instead of BaseFilterSet
.
Use case
In my case, I have a cron job that provisions a system that involves secrets from NetBox. Currently it pulls all the secrets every time it runs. It would be nice to just be able to obtain the secrets that have changed since the last run by querying the API for secrets/?last_updated__gte=[last run time]
Database changes
None.
External dependencies
None.