We need to update Cortex on multipel MacOS client, script ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

We need to update Cortex on multipel MacOS client, script ?

L0 Member

Does anyone have a script how to update Cortex on a MacOS with Bash ?

 

1 accepted solution

Accepted Solutions

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

 

Astardzhiev_0-1669583287364.png

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?

View solution in original post

1 REPLY 1

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

 

Astardzhiev_0-1669583287364.png

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?

  • 1 accepted solution
  • 1168 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!