jamf / 2016_JNUC_Security_Reporting_Compliance

Repo for code used in all presentation slides from the 2016 JNUC Presentation "Digging into Security, Compliance, and Reporting"
42 stars 17 forks source link

Just A few Changes #4

Closed BaddMann closed 7 years ago

BaddMann commented 7 years ago

The Main Change was replacing the Backtick "`" with "$( )". Otherwise I made attempts to have less calls to the "/usr/sbin/system_profiler". Why call it on three unique occasions where one direct call will do? I'm still working on a few things.

Next big change will be a function that looks up the plist value instead of direct calls through defaults and plistbuddy as there is nothing that accounts for missing values or files in that code.