Cortex XDR Generate Alert when Device is Online

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

Cortex XDR Generate Alert when Device is Online

L0 Member

There's many situations where it would be convenient to receive a notification when a device is online.  We often run into this when a device is isolated and we are  unable to contact a user.  Since there is no native ability to trigger an alert or notification I had an idea to run a script on an endpoint that will create a file and then create an alert based off of that file creation that will in turn fire an email. That seems like it would work because the script will run when the endpoint is online and the file creation event is something that can trigger an alert, which will fire an email through Automations. 

 

The part that is the issue is that Cortex does not seem to log file events from itself.  Has anyone tried something like this before?  My next step is to try to call another program to create the file to see if an event is logged.  I could also try generating network traffic also.

4 REPLIES 4

L5 Sessionator

Hello @tc0222 ,

 

Thank you for writing to Live Community.

 

This seems to be an extraordinary use case. Do let us know if you find something or need any assistance.

 

Regards.

Ashutosh Patil

L0 Member

Just a follow up to this older post, we did end up creating a dataset with the devices we wanted alerts for when they were online.  Then we used this query to create a correlation rule:

dataset = endpoints
| join (dataset = [watchlist dataset]) as E E.name = endpoint_name
| filter endpoint_status = ENUM.CONNECTED

 

This seems to be working as desired. 

That's a great solution for this use case. I think your not the only one with this "problem". Thanks for sharing 😊

L0 Member

Thank you so much for the information, your help is appreciated.

To generate an alert when a device is online in Cortex XDR, you can use the Host Insights module or set up a custom query with specific event-based alerts. It’s a bit like planning a strategy in the Chicken game casino, which you can try here at this https://uk.notgamstop.com/mini-games/chicken/ site. Just like in the game, you need to calculate your moves to ensure timely and accurate responses. Has anyone tried combining rules for better alerting?
  • 878 Views
  • 4 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!