- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-09-2022 03:53 AM
Does anyone have a script how to update Cortex on a MacOS with Bash ?
11-27-2022 01:13 PM
Hi @JohnvdLinden ,
Cortex XDR have tampering protection which prevents you to modify any file or process used by XDR, even if you are root user.
For that reason it is always recommended to manage (upgrade or uninstall) Cortex XDR from XDR console.
1. Go to Endpoints -> Agent Installation -> Create installation package for MacOS targeting the version you like to upgrade to
2. Go to Endpoints -> Policy Management -> Profiles -> Select Agent profile applied on your Mac
3. In the profile go to Agent Upgrade -> Enable automatic > Only maintenance releases in a specific version > Select your release version
Once you save the profile agents will start upgrading automatically, at the next heartbeat to the console (every 5mins)
Another way is:
1. Create installation package for the target version
2. Got to Endpoint -> All Endpoints
3. Filter and search the host you want to upgrade
4. Select the host you want (or all) -> Right click on any of the selected -> Endpoint Control -> Upgrade Agent Version -> Select the required version.
Is there any particular reason why you want to update XDR agent with script and not utilizing agent management capabilities of the XDR console?
11-27-2022 01:13 PM
Hi @JohnvdLinden ,
Cortex XDR have tampering protection which prevents you to modify any file or process used by XDR, even if you are root user.
For that reason it is always recommended to manage (upgrade or uninstall) Cortex XDR from XDR console.
1. Go to Endpoints -> Agent Installation -> Create installation package for MacOS targeting the version you like to upgrade to
2. Go to Endpoints -> Policy Management -> Profiles -> Select Agent profile applied on your Mac
3. In the profile go to Agent Upgrade -> Enable automatic > Only maintenance releases in a specific version > Select your release version
Once you save the profile agents will start upgrading automatically, at the next heartbeat to the console (every 5mins)
Another way is:
1. Create installation package for the target version
2. Got to Endpoint -> All Endpoints
3. Filter and search the host you want to upgrade
4. Select the host you want (or all) -> Right click on any of the selected -> Endpoint Control -> Upgrade Agent Version -> Select the required version.
Is there any particular reason why you want to update XDR agent with script and not utilizing agent management capabilities of the XDR console?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!