mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Suppress Script Output Option #146
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 @robertgendler on GitHub.
Originally assigned to: @brodjieski on GitHub.
Discussed in https://github.com/usnistgov/macos_security/discussions/300
Originally posted by btyl September 12, 2023
An option to be able to suppress script output so that it is not captured in Jamf policy logs. We have a very large Mac population and the output from the script that gets captured in the policy logs is greatly increasing the size of the policy logs table in the database. Even better would be just to output any failed controls so those can be captured in the policy logs.
@jmahlman commented on GitHub:
Works except that you will get a false positive with
audit_flags_fm_failed_configuresince you are just filtering for*"failed"*.Looking at how to fix that...
@jmahlman commented on GitHub:
Adding the :space: to the check worked for silent for me :)
@jmahlman commented on GitHub:
FYI, this is working for us without issue.