jamf / scout-public

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

Dormant Flagging & Reporting #28

Closed alex-stout closed 5 years ago

alex-stout commented 5 years ago

Resolves #3

Wait to merge until dockerizing PR is merged. I think somehow my branch got out of wack

Device Table:

Screen Shot 2019-07-31 at 12 18 46 AM

Report Dropdown:

Screen Shot 2019-07-31 at 12 20 14 AM
jacobschultz commented 5 years ago

This code looks good to me, going to test it out locally and wait for the docker PR before merging 👍

jacobschultz commented 5 years ago

Would we be able to add this to the models/device.js:exports.upsertFullInventory method as well? Probably right after exports.getFullInventoryByJSSAndServerId. That way this value will be stored in the mongo db as well and can be used for reporting.

On line around 415 of device.js could just add existingDevice.general.is_active = yourFunction()