Skip to main content
Question

Policy Search....

  • February 2, 2016
  • 2 replies
  • 16 views

Forum|alt.badge.img+13

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

Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • February 3, 2016

sorry, that should have been Date last run


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • February 3, 2016

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.