robjschroeder / Elevate

Elevate is a script that can be ran from Jamf Pro to help elevate a standard user to admin for a specific amount of time
35 stars 5 forks source link

Add Log Retention Policy #8

Open robjschroeder opened 1 year ago

robjschroeder commented 1 year ago

Add a log retention policy in days to help ensure unnecessary disk space is being used by logs older than 'x' amount of days.

robjschroeder commented 1 year ago

Another route would be to keep “x” number of logs rather than days. Reason being a user may only elevate once every 20 days, if retention for days is 10, those older logs would be lost.