macOS EPM - Create Sudo Elevate All Commands Policy

macOS EPM - Create Sudo Elevate All Commands Policy

97
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:04 PM


Objective


Create an Advanced Policy for MacOS to Elevate and add 3 sudo definitions in the same policy to capture and elevate all sudo command variations.



Environment


24.12;25.1;25.2;25.3;25.4;25.5 EPM EPM Console;Mac Agent;EPM Agent

Procedure


Application Definition 1:
- Command - matches wildcard - *


Application definition 2:
- Command - matches wildcard - *
- Sudo arguments - matches wildcard - *


Application definition 3:
- Command - matches wildcard - *
- Sudo arguments - match wildcard - *
- Parameters - match wildcard - *

 

In those 3 cases, you will always get elevated for whatever sudo command you run and however you structure the command.

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JBzCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail