- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
10-17-2024 12:24 AM
I kindly ask for your assistance with an XDR XQL query language script to identify devices in the network that do not have the XDR agent installed. Additionally, it would be helpful if the users could be identified from AD or through the DHCP on the network."
10-17-2024 01:50 PM
Hi,
Thanks for reaching out.
You can sort unmanaged devices on your network by configuring your networks parameters in Cortex, it will scan your environment and will let you know which assets are unmanaged.
This link can help you set up your networks parameters:
Alternatively, you can run this below script (this is just an example and you might need to modify it to adjust your needs):
config case_sensitive = false
| dataset = pan_dss_raw
| alter name = rtrim(name, "$")
| filter lowercase(name) not in (dataset = endpoints | fields endpoint_name as jds_endpoint_name | alter jds_endpoint_name = lowercase(jds_endpoint_name))
| filter OS in("*Windows*", "*Linux*", "*Mac*")
| fields Name, OS, Os_Ver, last_modified_dc_record, domain_name, DN
| alter time_range = timestamp_diff(current_time(), last_modified_dc_record, "DAY")
| filter time_range < 60
| sort desc last_modified_dc_record
| dedup Name
If this solutions solves your issue please mark it as solved.
Regards.
10-17-2024 01:50 PM
Hi,
Thanks for reaching out.
You can sort unmanaged devices on your network by configuring your networks parameters in Cortex, it will scan your environment and will let you know which assets are unmanaged.
This link can help you set up your networks parameters:
Alternatively, you can run this below script (this is just an example and you might need to modify it to adjust your needs):
config case_sensitive = false
| dataset = pan_dss_raw
| alter name = rtrim(name, "$")
| filter lowercase(name) not in (dataset = endpoints | fields endpoint_name as jds_endpoint_name | alter jds_endpoint_name = lowercase(jds_endpoint_name))
| filter OS in("*Windows*", "*Linux*", "*Mac*")
| fields Name, OS, Os_Ver, last_modified_dc_record, domain_name, DN
| alter time_range = timestamp_diff(current_time(), last_modified_dc_record, "DAY")
| filter time_range < 60
| sort desc last_modified_dc_record
| dedup Name
If this solutions solves your issue please mark it as solved.
Regards.
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!