mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Configure the default behavior of the check/remediate script when run from a MDM without flag support. #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lucasbarmy on GitHub.
Description of issue:
Intune now allows for large shell scripts, but unfortunately does not support scripts with flags. The mscp shell script needs to be able to use the script config file to hard code the default state of running the script, when triggered from MDM
Example:
The plist file would include a key to set one of the following flags:
—check
—fix
—cfc
This would determine the default behavior of the script when triggered via MDM.
Expected result:
Script should operate without flags with, but with a pedefined flag configuration form the plist.
Thanks!
-The Army