nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
175 stars 63 forks source link

Org level audit log data retention policy #1331

Open joshk opened 3 weeks ago

joshk commented 3 weeks ago

This addresses https://github.com/nerves-hub/nerves_hub_web/issues/795

A few highlights:

I decided not to add a way for the Org admin to change the number of days of audit logs to keep because an Org admin will always want to keep as many audit logs as possible. If the platform admin wants to set this to less or more days then they will do it application wide, or they can change this on an Org level via the DB if they want.