jamf / scout-public

A tool to aggregate devices across multiple MDM servers
GNU General Public License v3.0
11 stars 3 forks source link

Create reports based on extension attribute status #11

Closed jacobschultz closed 4 years ago

jacobschultz commented 5 years ago

Jamf Pro has a powerful feature called 'extension attributes' which can be attached to computers or mobile devices. They function basically as custom fields and can contain various data types. This is great to have as a reporting option, and their status is returned by the expanded inventory collection and stored in the MongoDB. Therefore, we can build reports from their values.

Today, the reporting UI has extension attributes listed as a criteria UI, but actually viewing results and reporting on them doesn't appear to be working properly.

This should probably be done after all of the other reporting bug fixes.

Tasks:

  1. Ensure the mappings from the device JSON returned by the Jamf Pro API matches the scout device field mappings in the /common directory.
  2. Make sure that extension attribute values are saved properly when creating reports.
  3. Figure out why the report results aren't returning the proper results based on the extension attribute status.
  4. Fix any issues with reporting on extension attributes.

PR Ready When:

  1. We are able to generate accurate reports based on extension attribute status
  2. We are able to update reports based on extension attribute status