
Cortex XSOAR is a security orchestration, automation, and response platform by Palo Alto Networks that accelerates incident response. Explore integrations, development, pre-processing, post-processing, and building workflows with playbooks and scripts.
Explore how SOAR unifies security tools through orchestration and automation to streamline operations, speed incident response, and reduce manual effort.
Navigate the XSOAR UI and configure user preferences, themes, notifications, and access management. Learn how to enable automatic backups, set password policies, and use log bundles and diagnostics for troubleshooting.
Explore how incidents function as case files and how incident types and fields shape their structure. See how layouts, playbooks, and the War Room support automated and collaborative incident response.
Explore how integrations connect XSOAR to external systems via the marketplace, create multiple instances with distinct configurations, and use the sample incident generator to drive playbooks and automations.
Learn to create and configure Cortex XSOAR playbooks that automate security operations, including generating passwords, printing results, and managing inputs, outputs, and the context JSON across tasks.
Learn how to create automation scripts in xor using python, javascript, or powershell to validate passwords, test via the xor cli and playground, and leverage reputation and integration commands.
Create and manage lists in XOR, a versatile data container for playbooks. Build an IP-to-hostname workflow with a JSON list and script helper to return hostname or not found.
Explore threat intelligence indicators in XSOAR, learn to extract and enrich them with VirusTotal via regex and indicator types, and configure integrations and extraction rules for automated incident workflows.
Learn to manage jobs in xor, including time triggered and delta feed event driven types, to run playbooks automatically. Create a time triggered job to delete expired indicators daily.
Search Query Examples
# Search for active incidents with Information severity
status:Active and severity:Informational
# Search for active incidents or Informational incidents
status:Active or severity:Informational
# Search for all incidents that are not closed and are not in the job category.
-status:closed -category:job
# Search playbooks whose name starts by Block
name:Block*
# Search for automations whose code contains "import json"
script:*import json*
# Search for incidents that were created on or after July 1, 2024
created:>="2024-07-01T00:00:00 +0200"
# Search for indicator values that contain "www" and end with ".com" using regex
value:"/w{3}..*.com/"
# Search for incident id 523
/search incident.id:523
# Search indicators that ends with ".com"
/search indicator.value:*.com
Explore the marketplace and content packs, learn to search for resources like integrations and playbooks, manage packs, contribute your own, and export or import packs across environments.
Explore playbook task types, including section headers, manual tasks, automated tasks, conditional tasks, and data collection tasks. Understand how to implement and manage each type to build robust playbooks.
Explore Xsoar sub playbooks and parent playbooks, with inputs and outputs and shared context, to modularize automation and enable reusable, secure security workflows like ip reputation checks.
Discover how loops in XOR automate tasks by iterating over item arrays, processing indicators and hosts with playbook tasks, sub playbooks, and built-in loop controls.
Extend context to retrieve only reputation value from a VirusTotal URL check by specifying context key and path; using argument and quiet mode boost speed.
!GetErrorsFromEntry entry_id=${lastCompletedTaskEntries}
!getInvPlaybookMetaData incidentId=<incident ID> minSize=<size of the data you want to return in KB. Default is 10>
Develop excel scripts in your favorite ide by bridging Xsoar's limitations with Mr. Mock, enabling code completion, debugging, and error detection in PyCharm or Visual Studio Code.
Get sample data for testing/debugging
# Export root data
!js script="return ${.}"
# Export context data
!py script="return_results(demisto.context())"
!PrintContext outputformat=json
# Export incident data
!py script="return_results(demisto.incident())"
!Print value=${.incident}
Commands
/docker_images
/docker_image_update all=<bool> | image=<image_name>
/docker_image_create name="<name>" base="<docker_image_base>" dependencies="<dependency1>, <dependency2>" packages="<package1>, <package2>"
/docker_image_create name=”demisto/py3-bs4” base=”demisto/python3-deb:3.8.2.6981” dependencies=beautifulsoup4
Fix Permission Denied Error
sudo mkdir -p /home/demisto
sudo chown demisto:demisto /home/demisto
curl 'https://<host>:443/incidents/search' -H 'content-type: application/json' -H 'accept: application/json' -H 'Authorization: <your api key>' --data-binary '{"filter":{"query":"-status:closed -category:job","period":{"by":"day","fromValue":30}}}' --compressed -k
!core-api-get uri="/health/containers”
Explore the most commonly used commands, methods, and functions in XSOAR integrations, including fetch incidents, fetch indicators, get last run, set last run, and Demisto parameters.
{"alertName": "Phishing Attack", "type": "phishing", "email": "test@outlook.com"}
/var/log/demisto/integration-instance.log
!command debug-mode=true
Explore pre-processing rules in XSOAR, which perform deduplication, linking, dropping, or closing incidents. Watch a practical demo that filters unclassified incidents using a top-down rule and a sample incident generator.
Explore pre-processing scripts in XSOAR and learn to create a pre-processing rule that adds custom tags to incidents based on type, such as phishing or malware.
Define a use case and build an automated webhook-driven workflow to notify teams of critical changes across virtual machines, networking and security, information, and event management.
Leverage Exor's robust capabilities to integrate security tools and streamline incident response through automation, using the PDF guide and source code to refine skills in real-world scenarios.
In this course, we will thoroughly explore several essential topics, starting with a comprehensive introduction to SOAR (Security Orchestration, Automation, and Response) and XSOAR 6, a leading platform in this field by Palo Alto Networks. It is important to note that XSOAR 6 is the older version of the platform, which has since evolved in more recent updates. We will delve into the various use cases of XSOAR 6, demonstrating its pivotal role in enhancing and streamlining security operations within organizations.
As we advance, you will gain in-depth knowledge of XSOAR’s components, such as incident types, integrations, and instances, and how they interconnect to create a cohesive security framework. You will learn to leverage these components to optimize and refine your security operations.
A significant portion of the course will focus on developing automations and playbooks, essential tools for automating incident response tasks. In addition to this, you will explore how to design and implement automated workflows that streamline repetitive processes, enhance productivity, and reduce human error.
In this course, instructions on how to install the XSOAR server instance and its administrator are not provided; it is more focused on development.
By the end of this course, you will be equipped to create sophisticated automated workflows and integrations within XSOAR 6, dramatically improving your organization's response to security incidents and ensuring stronger overall security management.