Commit Graph

117 Commits

Author SHA1 Message Date
Zack T
6be6665eb2 v2.1.0 = Additional functionality improvements
This version also includes contributions from @tantonw.
* \+ Added a check to see if the current running OS version is the same as "latest supported" based on model, if so, no reason to check further specifications
  * (Again, help script execute faster where possible)
2022-02-28 23:05:23 -07:00
Zack T
8e27016cf4 Merge pull request #14 from tantonw/tantonw-patch-2
Storage free space fix for Mac at loginwindow
2022-02-28 21:46:09 -08:00
tantonw
5886c0a727 Storage free space fix for Mac at loginwindow
The NSURLVolumeAvailableCapacityForImportantUsageKey resource key returns 0 free space if no user is logged in to the Mac.  NSURLVolumeAvailableCapacityKey doesn't have this issue, so use it instead if necessary.
2022-02-25 16:57:13 -08:00
tantonw
4233b7a72d M1 system_profiler "Upgradeable Memory" workaround 2022-02-25 16:35:33 -08:00
Zack T
391d345b64 v2.0.0 = Major refactor, more strict technical checks, etc.
* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
  * This should make the logic much more reliable and easier to maintain going forward
  * \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
* Renamed script
2022-02-21 13:57:03 -07:00
Zack T
9bd180d8dd v2.0.0 = Major refactor, more strict technical checks, etc.
* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
  * This should make the logic much more reliable and easier to maintain going forward
  * \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
2022-02-21 13:52:28 -07:00
Zack T
e2a7701780 v1.12.2 = Corrected Monterey and Big Sur support on iMac Models
Revert change excluding 16,1 from Monterey....  Apple's numerous pages are vague, misleading, or incorrect.
https://support.apple.com/en-us/HT201634 - Shows that the iMac (Retina 5K, 27-inch, Mid 2015), Model Identifier: iMac15,1 still supports Monterey when it does not.
2022-02-18 23:53:43 -07:00
Zack T
55efd75f2c v1.12.1 = Corrected Monterey and Big Sur support on iMac Models
Corrected Monterey and Big Sur support on iMac Models
2022-02-18 21:52:40 -07:00
Zack T
e15632ecfb v1.1.0 = Updated for changes in 11.5
Updated to support changes with Rosetta 2 in Big Sur 11.5.
2022-01-24 13:33:58 -07:00
Zack T
ab9dabbb2a v2.7.0 = Added falconctl error handling and SysExt reporting logic
+ Accounted for the scenario where the Falcon Service (falconctl stats) errored/failed to provide the expected info
    + This should correct devices reporting `Invalid Customer ID; SysExt not loaded` incorrectly
+ Fixed a logic error where only the _last_ system extension status (from `systemextensionsctl list`) is checked -- the last may not be the most recent
+ Added an additional "acceptable" system extension state that would result in a passed check (`activated waiting to upgrade`)
- Removed logic supporting older Sensor versions
2022-01-24 13:32:51 -07:00
Zack T
15656e6942 v1.12.0 = Finalized Monterey Support
+ Finalized Monterey Support
+ Includes a fix for iMac15,1
2021-12-03 11:44:32 -07:00
Zack T
53aeead81b Merge pull request #10 from sgmills/master
jamf_ea_LatestOSSupported - check purgeable disk space
2021-12-03 11:34:35 -07:00
Zack T
1634b1d830 v2.6.0 = Added a local log to track EA value history and more
+ Added a local log to track EA value history since this function isn't available within Jamf Pro
+ Updated minimally "supported" OS Version to 10.14 (not supported, but will connect to the cloud)
+ Automatically reporting v5.x location sensors as not supported
- Removed logic for checking v5.x sensors
+ Reporting 6.17 and older sensor versions as not supported
+ Added success check for the Python3 filter_state check
+ Improved the system extension status check by creating an array to handle cases where multiple system extensions are present
2021-12-01 16:14:07 -07:00
Zack T
cd0b86e01c v1.4.0 = Added a local log to track EA value history
+ Added a local log to track EA value history since this function isn't available within Jamf Pro
2021-12-01 15:47:35 -07:00
Zack T
ed9914d1f0 v1.1.0 = Python3 compatibility
+ Python3 compatibility
+ Switched to using `requests` instead of `urllib`
2021-11-30 12:04:39 -07:00
Zack T
fc5f64c0d0 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-30 12:02:46 -07:00
Zack T
048fd26c41 v1.1.0 = Python3 compatibility
+ Python3 compatibility
2021-11-30 12:01:16 -07:00
Zack T
592b417c45 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 21:38:44 -07:00
Zack T
9d48b9549b v1.2.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 21:35:29 -07:00
Sam Mills
135fa00731 check purgeable disk space 2021-11-18 10:21:09 -05:00
Zack T
d2f91dbf27 v1.11.0c - Correct logic error for specific hardware revisions
+ Corrected a logic error in the iMac and MBP ModelCheck functions for the minor hardware revisions that are supported with newer OS versions while others are not
+ Removed `$` from variables in arithmetic expressions as they are unnecessary
2021-09-30 14:07:31 -07:00
Zack T
27a97db855 v1.11.0b - Added support for MBP 11,4 & 11,5 with Monterey
+ Missed Monterey support for MBP 11,4 and 11,5; addressed in this updated
+ Added a MBP specific model check function
+ Corrected a logic error for the latest model checks in a the iMacModelCheck
2021-09-30 14:01:40 -07:00
Zack T
32315d045a v1.11.0a - Initial Support for Monterey
+ Adding initial support for macOS Monterey based on information know as of today.
2021-09-22 14:40:53 -07:00
Zack T
b17d04f068 v2.5.0 = Fixed false reports from SysExtCtl list & Network Filter State
+ Multiple extension versions can show up in the list from `/usr/bin/systemextensionsctl list`, added logic to only check against the sensor version currently installed.
+ Fixed logical error the Network Filter State conditional...whoops
2021-05-07 17:02:52 -07:00
Zack T
29fe619ea2 Merge PR#7 from koalatee
remove default python, allow option for bash

Plus:
From @MLBZ521 
* Check if $python_path exists, if it doesn't fall back to `defaults read`
* Add full path to binaries
* Add a value check for $filter_state for the result from `defaults read`
2021-05-07 16:44:52 -07:00
Zack T
f9c0632242 Additional adjustments
Changes:
* Check if $python_path exists, if it doesn't fall back to `defaults read`
* Add full path to binaries
* Add a value check for $filter_state for the result from `defaults read`
2021-05-07 16:42:28 -07:00
Zack T
10151f8ce8 v1.0.0 = Initial Version
Initial Version
2021-05-06 19:17:39 -07:00
Zack T
ff9b3d34fe v1.5.0 = Resolved logic issue after upgrade from v10.x to 11
+ Accounted for the softwareupdate journal.plist not existing after upgrading from 10.x to 11
+ Improved code by simplifying logic, break logic up into functions, etc
2021-05-06 19:16:50 -07:00
James
e7fe96f176 remove default python, allow option for bash 2021-03-29 16:30:58 -07:00
Zack T
423f8a9c6b v1.3.1 = Code Improvement
No logic or functionality changes.
2021-03-22 13:57:56 -07:00
Zack T
ee29713b1f v2.4.0 = Updated to check if the network filter is enabled
+ Updated to check if the network filter is enabled
2021-03-17 14:03:49 -07:00
Zack T
5865064713 v1.0.0 = Initial Version
Initial Version
2021-03-16 12:10:36 -07:00
Zack T
27e9ad7016 v1.4.0 = Better support for Big Sur & Converted to Python3
+ Updated to better support Big Sur
+ Converted to Python3
+ Recording to a local .plist instead of being ran straight through a Jamf Pro EA
2021-03-16 12:09:53 -07:00
Zack T
47bca78138 v2.3.0 = Fixed issue where the Locale isn't set as expected
+ `falconctl stats` was being affected by the configured Locale, adjusting it to the expected Locale supported by this script
2021-03-15 20:32:14 -07:00
Zack T
e9523f608c v2.2.0 = "Fixed" unsupported versions reporting "Running"
Apparently when I dropped support for unsupported Sensor versions.....I didn't account for them in the script at all....  That has now been fixed.
2021-02-26 23:22:20 -07:00
Zack T
59f85105c9 v1.2.0 = Minor tweaks
Just a few minor tweaks, no change in logic.
2021-02-19 00:04:53 -07:00
Zack T
0ac71a034a v1.3.1 = Fixed likely regression
+ Fixed a regression that would likely be present in older OS Versions
- Remove the Python3 imports as this script isn't compatible with Python3 at this time
2020-11-13 01:05:53 -07:00
Zack T
92a0ec2f67 v1.3.0 = Fixed issue for CS:F Version older than 5.36
Fixed issue for CS:F Version older than 5.36...all this mainly for 5.34 and macOS 10.13 High Sierra.
2020-11-13 00:50:45 -07:00
Zack T
7ba32f0fcb v2.1.0 = Minor tweak to KEXT check for MDM Approved
Changed the KEXT check for MDM approved to only check for the Team ID, not the Bundle ID as well.
2020-11-12 15:19:08 -07:00
Zack T
e4b947db2f v1.3.0 = Possible support of macOS 11 Big Sur
Adds support for Big Sur as of 11.0.1 RC2
2020-11-12 13:40:18 -07:00
Zack T
4028d5624e v1.10.0 = Updated with official Big Sur specs
Updated to include official Big Sur specs.
2020-11-12 13:06:13 -07:00
Zack T
dc1070529a v1.2.0 = Updated to support v6.x Sensor
+ Updated to support v6.x Sensor
2020-11-11 17:11:48 -07:00
Zack T
abaae32522 v2.0.0 = Support for Big Sur and v6 Sensor
+ Checks against additional data points (ex. SysExts)
+ Improves checks for KEXT/PPPC/etc
+ Support for Big Sur
+ Support for v6.x sensors
- Drops support for:  macOS 10.12 and earlier; v4.x Sensors
2020-11-11 17:07:50 -07:00
Zack T
dde2eca644 v1.9.0 = Adding Storage Check for Big Sur
+ Added an available space check specifically for Big Sur; currently based on Beta's will update after official release if required
2020-11-10 13:40:51 -07:00
Zack T
11b84c1d3f v1.8.1 = Fixed logic error in iMac Model Checks
+ Fixed an error in the iMac Model Check logic causing devices to not report compatible with Big Sur.
2020-11-09 11:22:48 -07:00
Zack T
5d503a3145 v1.1.0 = Updated to support Big Sur
+ Updated to support Big Sur
2020-10-27 13:29:07 -07:00
Zack T
5c623ce76c v1.1.0 = Resolved issue when directory didn't exist
+ Resolved rare issue when the ~/Library/Fonts directory didn't exist
2020-10-22 12:34:18 -07:00
Zack T
e88dd11686 v1.2.0 = Added support for macOS Betas
+ Added support for macOS Betas
2020-10-22 11:17:11 -07:00
Zack T
527e4c1165 v1.8.0 = Proper support for Big Sur (Beta) and additional fixes
+ Proper preliminary support for Big Sur as far as the currently known system requirements
+ Fixed a few logic that would have caused the wrong OS version to be reported
+ Fixed a few formatting issues/inconsistencies
2020-10-21 16:35:57 -07:00
Zack T
67aea276ae v1.11.0 = Support to check if FDA is enabled
+ Added support to check if FDA is enabled or disabled
2020-10-01 15:13:06 -07:00