Policy Search....

kerouak
Valued Contributor

I'd like to run a report that lists the last time a policy was run.

I'd like to clear old / unused policies and thought this would be a good way of determining 'used recently' and 'NOT'

Ideas?

2 REPLIES 2

kerouak
Valued Contributor

sorry, that should have been Date last run

mm2270
Legendary Contributor III

I don't think there's a way to do this unfortunately. The policy logs data isn't easily accessible. Its not available in the UI in Casper other than drilling into each policy individually and viewing the logs, and its also not available in the API. Its probably available through direct MySQL queries, but that would involve running commands directly against your JSS' database. Other than that, I don't know of any other way to achieve this.