Secure your API landscape
Discover, assess, monitor, and protect API traffic, endpoints, and specifications in Cortex XDR.
Integrate Cortex XDR with your API Gateway (AWS, Azure, GCP, Kong or F5 BIG-IP LTM) to scan traffic and analyze logs. With Cortex XDR, use the API security features to monitor, manage, and enforce security policies across the integrated API gateways. In addition, the API specification can validate live traffic against specifications and alert on surface deviations, undocumented endpoints, or security gaps.
Refer to the relevant section for more information:
Gain visibility and assess risk of API endpoints
Monitor and investigate API threats
Configure API security from end to end
API specification inventory
Gain visibility and assess risk of API endpoints
Cortex XDR API endpoints provide an overview of the API assets across cloud providers and data sources (for example: API Gateway, API specification), enabling you to analyze, assess, and implement security measures to safeguard against security risks and potential vulnerabilities.
In addition to observing API traffic, Cortex XDR scans AWS and Azure API gateway, and extracts the API specification files. Once the specification files are in the inventory, Cortex XDR scans them for misconfigurations and vulnerabilities, providing insights into your API landscape.
At a glance, we see a graphical representation of the APIs per cloud provider, including On-prem, and APIs per discovery source, including XDR agent.

You can filter in by provider or by discovery source.
The following table lists the fields that are available for each API endpoint.
Server
Hosting server of the API.
Path
API endpoint path is used by applications to communicate with the server, enabling you to access data and execute actions.
API Category
Associated category of the API. For example, the API could be associated with Payment.
HTTP method
The HTTP methods supported include:
Get
Post
Put
Patch
Delete
Head
Options
Trace
Connect
Risk factors
Indication of the risk type associated with the API:
Internet Exposure (
)Sensitive Data (
)No Authentication (
)No Encryption (
)Insecure Encryption
Unknown Encryption
API spec name
API specification name is obtained from the title field of the specification imported to Cortex XDR.
API spec conformance
Indicates if the endpoint was found/not found in the specification.
Undefined: Indicates that the endpoint from the gateway is not found in any known specification document.
Match: Indicates there's a match between the API path of the endpoint and a specification.
Mismatch: Indicates that the API path is the same in the endpoint and specification, but there is a missing query parameter in the specification.
Conflict: Indicates when the API endpoint matches more than one API specification file.
Provider
Gateway provider:
GCP
AWS
Azure
On-Prem
Source
Indicates the service from which the data was obtained:
Kong
Configuration
: Indicates that the source is from the API specification.Azure API Management
Apigee
Amazon API Gateway
XDR Agent
F5 BIG-IP LTM
Inspected
Number of requests or connections that have been analyzed and verified by Cortex XDR.
Request/Response Sensitive Data
Shows the sensitive data type in the request/response, such as passwords, credit card numbers, SSNs, or bank account numbers. Refer to What is Cortex Cloud Data Classification? for more information.
Request/Response Content Types
Data format sent/received in the request/response of the API calls.
application/json
application/xml
application/x-www-form-urlencoded
multipart/form-data
Request/Response Data Patterns
Data pattern types such as Credit Card Numbers, SSN, Email Addresses, API Keys.
Request/Response Data Profiles
Data profile types such as PCI, GDPR, PII, HIPAA.
Schema
Protocol used to access the API resource:
HTTP
HTTPS
Authentication Types
Authentication methods include the following options:
API key
Basic
OAuth
OIDC
Learning
Unknown: Indicates that the authentication method couldn't be identified.
Authentication not detected: Indicates that the API does not require authentication.
Discovery Method
Based on asset discovery:
HTTP
Logs
Traffic mirroring
Configuration
Unknown
Asset Status
The API's status is Active only when both an API gateway and an API specification are present; otherwise, it's deleted. An Inactive status means the endpoint is defined in the specification but isn't receiving traffic via the gateway.
Cloud
Cloud provider where the agent is running. In case of on-prem, this field shows On-prem.
Provider Type
Indicates the cloud service provider:
CSP
On Prem
Region
Region of the hosting server.
When clicking on a specific API endpoint, a side card opens. Each tab includes detailed information as described.
Monitor and investigate API threats
Cortex XDR provides a comprehensive solution to counter API threats and attacks. It doesn't just address vulnerabilities, but actively protects against the misuse of legitimate API functions, mitigates risks from misconfigurations, and secures often-forgotten "shadow" or "zombie" APIs. By offering continuous visibility and monitoring, Cortex XDR ensures robust, proactive protection for all your APIs, safeguarding your organization against evolving and sophisticated threats.
Cortex XDR protects from the following threats:
Advanced Threat Protection
Advanced Threat Protection (ATP) is a comprehensive security feature designed to detect, prevent, and respond to sophisticated Web and API threats, ensuring robust protection for workloads against evolving risks.
Authentication bypass
The Cortex XDR authentication bypass module protects against attacks that attempt to circumvent authentication controls through session manipulation, token exploitation, or credential abuse.
Automation tools
Cortex XDR detects and protects against automated tools or services that scrape website contents such as Scriptable headless web browsers, command line tools, or HTTP libraries.
Cross-Site Scripting (XSS) injection
Cortex XDR protects against XSS attacks, in which malicious JavaScript snippets are injected into otherwise benign and trusted websites. In such attacks, attackers try to trick the browser into switching to a JavaScript context and executing arbitrary code.
CVE exploits
Cortex XDR protects against exploitation attempts of known vulnerabilities (Common Vulnerabilities and Exposures (CVEs)).
Malformed Traffic
Cortex XDR identifies and protects against HTTP requests with anomalies that are not expected from common web browsers.
Injection attacks
Injection attacks are a form of attacks in which attackers attempt to insert malicious input into an application to manipulate its execution. For example, a code injection attack injects code which is interpreted by the application or other runtimes. Command and code payloads can either be injected as part of HTTP requests, or are included from local or remote files (also known as File Inclusion attacks).
Known bots
Cortex XDR can identify legitimate bots that properly declare their identity and purpose, such as search engine crawlers and authorized web indexers. These bots follow standard protocols and provide verifiable operator information, however some of them might cause undesirable behaviors, such as spam, and you might prefer to block such bots.
Offensive tools
Cortex XDR identifies offensive tools that scan web applications for known security vulnerabilities and misconfiguration, and exploit them.
Sensitive data exposure
Cortex XDR protects workloads from providing responses that could expose sensitive data found in critical system files, including password hashes (/etc/shadow), user account information (/etc/password), and private encryption keys.
Such examples would be compromised accounts, credential stuffing, and ATO attacks.
SQL injection (SQLi)
Cortex XDR protects against SQLi attacks, which can occur when an attacker successfully inserts a malicious SQL query into the input fields of a web application. A successful attack can read sensitive data from the database, modify data in the database, or run arbitrary commands.
Identity-based attacks
Cortex XDR identifies and protects from compromised accounts, credential stuffing, and ATO attacks. These types of attacks involve exploiting stolen or weak login credentials to impersonate legitimate users and gain unauthorized access to accounts and systems.
The API inventory's category by type (e.g., login, sign-in, sign-up, register, create account, reset password) and sub-type (e.g., add to cart, show cart, general checkout page, add billing address, add credit card, gift card) is crucial. This enables a deeper investigation into potential discrepancies related to identity-based attacks.
SOC analyst workflow
The following workflow outlines a step-by-step action plan as a SOC analyst to monitor, investigate, and respond to API threats.
SOC analyst role overview
SOC analysts continuously monitor and analyze security incidents related to APIs. Their goal is to identify, investigate, and mitigate API endpoint attacks, ensuring API integrity, confidentiality, and availability. They prioritize issues based on severity and specific indicators.
ISSUE DOMAIN: Security
DETECTION METHOD: API Traffic Monitor
SEVERITY: High or Critical
SOC analyst action plan
The following outlines the streamlined actions a SOC analyst takes when detecting an API threat:
Step 1: Initial examination (Cases & Issues):
Objective: Quickly assess the type and severity of the API attack.
Actions: Navigate to Issues, filter by key indicators, and review the high-level alert summary (timestamp, affected service, initial notes).
Step 2: In-depth analysis (Issue page - Overview tab):
Objective: Gather detailed attack context, identify affected assets, and collect evidence.
The API security issues page provides a single window into every API security threat. You get full investigation capabilities that let you immediately drill down to understand the true impact of the attack. An important insight into the issue, you can see the specific details of the attacker and the credentials that were used. All the details included give you a deep understanding of the complete attack narrative.
Actions:
Affected Assets: Identify targeted API endpoints; click to navigate to their detailed pages for granular review.
Evidence: Examine findings (request/response logs, payload, timestamps, source IP, user agent) to understand the attack vector.
Advance your investigation: The issue page also provides you with advanced investigation options to further analyze the attack narrative.
Select one of the options:
Trace the Actor: Gain full visibility into the actor's complete interaction sequence by viewing all raw API traffic. This allows you to understand every step they took, ensuring nothing is missed in your analysis.
Click Run to run a preconfigured XQL query.
Hunt for the Payload: Search is extended to include encoded and modified variations of the attack payload across all API traffic. This comprehensive detection capability ensures you find every single instance of the attack attempt, regardless of how the payload was obscured or altered.
Click Run to run a preconfigured XQL query.
Scope the Threat: Access a chronological record of all historical security issues tied to this specific API endpoint. Analyzing this data allows you to quickly identify attack patterns and pinpoint inherent vulnerabilities in the endpoint, enabling targeted hardening and risk reduction.
Click Go, which takes you directly to the Issues table to see all historic issues related to the attacked API endpoint.
Build the Attack Chain: Instantly display all historical security issues previously triggered by this actor. This automatically generates a clear, chronological timeline of their malicious activities, enabling you to understand their patterns, escalation, and overall risk profile.
Click Run to run a preconfigured XQL query.

issues_api_endpoints_page
Step 3: Refer to Gain visibility and assess risk of API endpoints for drilled-down details of the API data.
Step 4: Post-investigation actions & reporting:
Objective: Mitigate the threat, prevent recurrence, and document findings.
Actions:
Reporting: Create a detailed incident report (detection, attack type, assets, evidence, vulnerabilities, actions, lessons learned). Communicate findings to stakeholders.
Improvement: Conduct post-incident review, update policies/playbooks, and recommend security enhancements.
Configure API security from end to end
Implementing end-to-end API security means establishing comprehensive protection across the entire API lifecycle. This process begins by integrating with third-party cloud providers to enable thorough scanning of your APIs for threats and vulnerabilities. Following this, you'll configure profiles for agent-based protection, which actively safeguards your APIs in real-time. This ensures that every potential vulnerability, from authentication and authorization issues to data encryption and threat monitoring, is addressed across your entire API ecosystem.
For more information on how to configure, refer to:
Third-party integrations
Agent-based protection
Third-party integrations
Easily configure the settings in both Cortex XDR and your cloud service to retrieve and collect API data for further analysis by Cortex's comprehensive API security capabilities, which provide a transparent view of API traffic, helping to identify potential security threats.
Ingest AWS API Gateway
Integrate AWS API Gateway with Cortex XDR to begin scanning the APIs for potential threats and vulnerabilities.
Ingest Azure APIM
Integrate Azure APIM with Cortex XDR to start scanning its APIs for potential threats and vulnerabilities.
You need to set up a policy that enables you to customize the behavior of managed APIs. You can configure the sending of HTTP request/response data to Cortex XDR. The data is saved and analyzed by API security modules, which provide information on the security risks associated with the APIs.
Ingest Apigee Proxy
Integrate Apigee Proxy with Cortex XDR to begin scanning the APIs for potential threats and vulnerabilities.
The integration uses the Apigee’s JavaScript (JS) policy, implemented within a shared flow and deployed as a pre-proxy and post-proxy flow-hook in selected environments. The JS policy is designed to capture both request and response data from all traffic entering and exiting the proxy.
First, download the resource file and then select the method to set up the integration with Apigee.
Ingest Kong
Integrate Kong with Cortex XDR to start scanning its APIs for potential threats and vulnerabilities.
You need to integrate a dedicated Kong HTTP log plugin. This plugin enables seamless traffic ingestion from your Kong API gateway to Cortex XDR, allowing for comprehensive security measures such as OWASP Top-10, bot detection, access control, and more.
Follow the steps to integrate Kong's API gateway with Cortex XDR.
Ingest F5
Integrate F5 with Cortex XDR to start scanning its APIs for potential threats and vulnerabilities.
You need to integrate a dedicated F5 log plugin. This plugin enables seamless traffic ingestion from your F5 gateway to Cortex XDR, allowing for comprehensive security measures such as OWASP Top-10, bot detection, access control, and more.
Agent-based protection
Cortex XDR can protect your workloads from various types of injection attacks, exploitation attempts, known vulnerabilities, automated tools, and more. In addition, your cloud workloads can be protected against evolving threats aggregated from commercial threat feeds, open-source threat feeds, and input from the Palo Alto Networks Unit 42 research team.
Web and API Security profiles provide comprehensive real-time detection and protection for web-based applications and APIs running on Linux-based workloads, to prevent cloud attacks. These profiles can be applied to policies for such workloads.
You can configure Cortex XDR to either monitor traffic for threats, or to actively block them. A fully configurable profile gives you the flexibility to protect your workloads based on specific needs for each type of threat.
Follow these steps to configure profiles and policies for cloud workloads:
Task 1: Set up Web and API Security profiles
Task 2: Apply Web and API Security profiles to workloads
(Optional) Task 3: Configure exception rules, such as legacy exception rules and support exception rules. Disable prevention rules for specific use cases.
The following table summarizes the workload protection features provided by Cortex XDR prevention profiles and policies:
Advanced Threat Protection
Advanced Threat Protection (ATP) is a comprehensive security feature designed to detect, prevent, and respond to sophisticated Web and API threats, ensuring robust protection for workloads against evolving risks.
Authentication bypass
The Cortex XDR authentication bypass module protects against attacks that attempt to circumvent authentication controls through session manipulation, token exploitation, or credential abuse.
Automation tools
Cortex XDR detects and protects against automated tools or services that scrape website contents such as Scriptable headless web browsers, command line tools, or HTTP libraries.
Cross-Site Scripting (XSS) injection
Cortex XDR protects against XSS attacks, in which malicious JavaScript snippets are injected into otherwise benign and trusted websites. In such attacks, attackers try to trick the browser into switching to a JavaScript context and executing arbitrary code.
CVE exploits
Cortex XDR protects against exploitation attempts of known vulnerabilities (Common Vulnerabilities and Exposures (CVEs)).
Malformed Traffic
Cortex XDR identifies and protects against HTTP requests with anomalies that are not expected from common web browsers.
Injection attacks
Injection attacks are a form of attacks in which attackers attempt to insert malicious input into an application to manipulate its execution. For example, a code injection attack injects code which is interpreted by the application or other runtimes. Command and code payloads can either be injected as part of HTTP requests, or are included from local or remote files (also known as File Inclusion attacks).
Known bots
Cortex XDR can identify legitimate bots that properly declare their identity and purpose, such as search engine crawlers and authorized web indexers. These bots follow standard protocols and provide verifiable operator information, however some of them might cause undesirable behaviors, such as spam, and you might prefer to block such bots.
Offensive tools
Cortex XDR identifies offensive tools that scan web applications for known security vulnerabilities and misconfiguration, and exploit them.
Sensitive data exposure
Cortex XDR protects workloads from providing responses that could expose sensitive data found in critical system files, including password hashes (/etc/shadow), user account information (/etc/passwd), and private encryption keys.
SQL injection (SQLi)
Cortex XDR protects against SQLi attacks, which can occur when an attacker successfully inserts a malicious SQL query into the input fields of a web application. A successful attack can read sensitive data from the database, modify data in the database, or run arbitrary commands.
Set up Web and API Security profiles
You can configure Web and API Security profiles to provide comprehensive real-time detection and protection for web-based applications and APIs running on Linux-based workloads. These profiles can be applied to policies for such workloads.
For each setting that you want to override, clear the corresponding option to Use Default, and then select the setting of your choice.
Note
In this profile, the Report options configure the workload to report the corresponding malicious applications or APIs to Cortex XDR, without blocking them. The Disabled options configure the workloads to neither analyze nor report the corresponding malware or behavior.
Add a new profile and define basic settings.
From Cortex XDR, select Inventory → Endpoints → Policy Management → Prevention → Profiles. Click +Add Profile, and select whether to create a new profile, or to import a profile from a file.
Select the Linux platform, and Web & API Security as the profile type.
Click Next.
Enter a unique Profile Name for the profile. The name can contain only letters, numbers, or spaces, and must be no more than 30 characters. The name will be visible from the list of profiles when you configure a policy rule.
(Optional) Enter a description that describes the intention or business purpose of the profile.
Configure Action Mode options. If you choose Enable, you can then configure each item separately.
ItemOptionsMore detailsAction Mode
Enable
Disable
When set to Enable, Cortex XDR performs the configured action for each of the options.
XSS
Block
Report
Disable
When Cortex XDR detects cross-site scripting (XSS) injection, it performs the configured action.
XSS attacks are attacks in which malicious JavaScript snippets are injected into otherwise benign and trusted websites. In such attacks, attackers try to trick the browser into switching to a JavaScript context and executing arbitrary code.
SQL Injection
Block
Report
Disable
When Cortex XDR detects SQL injection (SQLi) attempts, it performs the configured action.
(SQLi) attacks can occur when an attacker successfully inserts a malicious SQL query into the input fields of a web application. A successful attack can read sensitive data from the database, modify data in the database, or run arbitrary commands.
Injection Attacks
Block
Report
Disable
When Cortex XDR detects injection attacks, it performs the configured action.
Injection attacks are a form of attacks in which attackers attempt to insert malicious input into an application to manipulate its execution. Command and code payloads can either be injected as part of HTTP requests, or are included from local or remote files (also known as File Inclusion attacks).
CVE Exploits
Block
Report
Disable
When Cortex XDR detects known vulnerabilities (Common Vulnerabilities and Exposures (CVEs)), it performs the configured action.
Sensitive Data Exposure
Block
Report
Disable
When Cortex XDR protects workloads from exposing sensitive data, it performs the configured action.
This module protects workloads from providing responses that could expose sensitive data found in critical system files, including password hashes (/etc/shadow), user account information (/etc/passwd), and private encryption keys.
Authentication Bypass
Block
Report
Disable
When Cortex XDR detects attempts to bypass authentication controls, it performs the configured action.
This module protects against attacks that attempt to circumvent authentication controls through session manipulation, token exploitation, or credential abuse.
Advanced Threat Protection
Block
Report
Disable
When Cortex XDR detects evolving threats, it performs the configured action.
Advanced Threat Protection (ATP) is a comprehensive security feature designed to detect, prevent, and respond to sophisticated web and API threats, ensuring robust protection for workloads against evolving risks.
Offensive Tools
Block
Report
Disable
Cortex XDR can identify offensive tools that scan web applications for known security vulnerabilities and misconfiguration, and exploit them. When such tools are found, this module can block or report them.
Malformed Traffic
Block
Report
Disable
When Cortex XDR detects HTTP requests with anomalies that are not expected from common web browsers, it performs the configured action.
Automation Tools
Block
Report
Disable
When Cortex XDR detects automated tools, it performs the configured action.
Malicious automated tools or services can scrape website contents such as Scriptable headless web browsers, command line tools, or HTTP libraries.
Known Bots
Block
Report
Disable
When Cortex XDR detects known bots, it performs the configured action.
Cortex XDR can identify legitimate bots that properly declare their identity and purpose, such as search engine crawlers and authorized web indexers. These bots follow standard protocols and provide verifiable operator information, however some of them might cause undesirable behaviors, such as spam, and you might prefer to block such bots.
To save the profile, click Create.
What to do next
If you are ready to apply your new profile to endpoints, you do this by adding it to a policy rule. If you still need to define other profiles, you can do this later. During policy rule creation or editing, you select the endpoints to which to assign the policy. There are different ways of doing this, such as:
Apply Web and API Security profiles to workloads
Cortex XDR provides out-of-the-box protection for all registered workloads with a default security policy. To customize your security policy, create or edit one or more security profiles, and then attach the profiles to one or more policies.
Each policy you create must apply to one or more workload or workload groups. The Prevention Policy Rules table lists all the policy rules per operating system. Rules associated with one or more targets that are beyond your defined user scope are locked and cannot be edited.
From Cortex XDR, create a policy rule.
Do one of the following:
Select Inventory → Endpoints → Policy Management → Prevention → Policy Rules, and select + New Policy or Import from File.
Note
When importing a policy, select whether to enable the associated policy targets. Rules within the imported policy are managed as follows:
New rules are added to the top of the list.
Default rules override the default rule in the target tenant.
Rules without a defined target are disabled until the target is specified.
Select Inventory → Endpoints → Policy Management → Prevention → Profiles, right-click the profile that you want to assign, and click Create a new policy rule using this profile.
Enter a policy name, and a description (optional) that describes the purpose or intent of the policy.
Select the Platform for which you want to create a new policy.
Select the desired profiles that you want to apply in this policy.
If you do not specify a profile, the default profiles are used.
Click Next.
Use the filters to assign the policy to one or more workloads or workload groups.
Cortex XDR automatically applies the platform filter you selected and, if it exists, the Group Name according to the groups within your defined user scope.
Click Done.
In the Policy Rules table, change the rule position, if needed, to order the policy relative to other policies.
The Cortex XDR agent evaluates policies from top to bottom. When the Cortex XDR agent finds the first match, it applies that policy as the active policy. To move the rule, select the arrows and drag the policy to the desired location in the policy hierarchy.
Right-click to display and use one of the following options View Policy Details, Edit, Save as New, Disable, and Delete.
Manage Web and API Security prevention profiles
After you create and customize your Web and API Security prevention profiles, you can manage them from the Prevention Profiles page as needed.
View information about your Web and API Security prevention profiles
The following table displays the fields that are available on the Prevention Profiles page, in alphabetical order. The table includes both default fields and additional fields that are available in the column manager. To view this page, go to Inventory → Endpoints → Policy Management → Prevention → Profiles.
Associated Targets
The endpoints or endpoint groups to which the profile is assigned
Created By
The administrator who created the prevention profile
Created Time
The date and time at which the prevention profile was created
Description
An optional description entered by an administrator to describe the prevention profile
Modification Time
The date and time at which the prevention profile was modified
Modified By
The administrator who modified the prevention profile
Name
The prevention profile name
Profile ID
The ID assigned to to the profile by Cortex XDR
Summary
Summary of prevention profile configuration
Type
The prevention profile type
Usage Count
The number of policy rules that use the profile. If you want to delete a profile, ensure that this cell displays "0".
Add a disable prevention rule for cloud workloads
You can create granular exceptions to prevention actions defined for your workloads. These exception rules may be useful when you have processes that are essential to your organization, and must not be terminated. To cover all your workloads, you can configure different exception rules per platform. Cortex XDR still generates issues from the disabled rules.
Important
All applicable prevention actions are skipped for the files and process that match the properties defined in the rule.
Consider the consequences of disabling a prevention rule before you add the exception, and monitor it over time.
Go to Settings → Exceptions Configuration → Disable Prevention Rules.
Click Add Rule, and select Web and API Security.
For Rule Name, enter a meaningful name for the rule.
(Optional) Enter a description for the business reason or intent for the rule.
Click Next.
For Exception Effect, choose an option:
Disable prevention and report: Disable the prevention modules included in this rule and report on it.
Disable prevention and do not report: Disable the prevention modules included in this rule but do not report on it.
For Platform, select the operating system that you require.
Under Target Properties, you can configure any combination of parameters. If a parameter is not specified, all values are allowed. You can use wildcards for matching. Press Enter to add the target properties. Repeat this step for additional target properties.
When you specify two or more values, the exception is applied only if the file satisfies all the specified target properties.
Domain: Specify a domain.
IP: Specify an IP address.
User Agent: Specify the application's User-Agent ID that is used in the headers of an API request.
For example, if the user agent is
"User-Agent:paypal.com", enterpaypal.comhere.Path: Specify the path to the required files or folders.
For Modules, select one or more security modules that won't trigger prevention actions.
The actions triggered by the other modules are not affected.
For Scope, select the scope for the rule:
If you want to apply the rule to all workloads, select Global.
If you want to apply the rule to only specific exception profiles, click Exception Profiles, and then select them from the list.
Click Next.
Review the configurations for the exception, and if the risks are acceptable to you, select I understand the risk, and then click Create.
Add a support exception rule for cloud workloads
You can define and manage exceptions based on files received from the customer support team. You can apply the rule across all of your workloads or to specific profiles.
From Settings → Exceptions Configuration → Support Exception Rules, click + Import from file.
Locate the JSON file that you received from the customer support team, and either drag and drop the file to this dialog box, or click Browse to locate the file.
Select Profile/s to apply the rule to one or more specific profiles, or select Global to apply to all workloads.
If you want to apply the rule to existing profiles, select them from the list.
If you want to apply the rule to a new profile, click New Profile, and enter the name of the new profile.
Click Import.
Add a legacy exception rule for cloud workloads
Legacy Exception rules enable you to configure an exception to prevention and protection modules on workloads for selected profiles.
Items included in allow lists may continue to generate Cortex XDR security events. If you want to exclude event reporting, configure this on the Issue Exclusions page (Settings → Exception Configurations → Issue Exclusions).
Select Cases & Issues → Issues.
Locate an issue from which you can create an exception rule, and right-click it.
Select Manage Issue → Create Issue Exception.
Select the items that you want to be included in the exception rule:
Domain: The domain to be excluded by the rule. For example, google.com
Path: The path to files or folders to be excluded by the rule.
User-Agent: The application's User-Agent ID to be excluded by the rule. For example, a User-Agent ID for the curl application could be
curl/7.68.0IP address: The IP address to be excluded by the rule.
Select an option for Exception Scope:
Global: Apply the exception rule globally for all workloads.
Profile: Apply the rule only to workloads mapped to the profile selected in the next step.
If you selected Profile, select a profile from the Exception Profile Name list.
Click Create.
Your rule is created, and can be viewed at the following location: Settings → Exceptions Configuration → Legacy Agent Exceptions.
Additional workload management tasks
Several management activities that can be performed on workloads are accessible from Inventory → Endpoints → All Endpoints and from Inventory → Endpoints → Groups. On these pages, select one or more workloads, and right-click to access the available actions and configuration options.
API specification inventory
Cortex XDR offers the option to import API specifications that comply with the OpenAPI format, including format, file structure, and data types.
In addition to observing API traffic, Cortex XDR scans AWS and Azure API gateways, and extracts the API specification files. Once the specification files are in the inventory, Cortex XDR scans them for misconfigurations and vulnerabilities, providing insights into your API landscape.
Use Cortex XDR to validate live traffic against specifications and alert on surface deviations, undocumented endpoints, or security gaps.
The following table describes the fields that are available for each API specification.
Sources
Source of the API specification:
User
API Gateway Configuration
Asset Name
Asset name is obtained from the title field in the specification.
Servers List
This field is automatically filled if the specification contains the server URL or host. You must manually add the URL or host address if there is no URL or host in the specification.
API Versions
API version obtained from the API specification.
Associated Endpoints
Shows the number of endpoints that match the specification.
You can right-click and select View Associated Endpoints to see the matched paths in the API Endpoints table.
Format & Version
OpenAPI or Swagger and the relative version.
Spec File Name
Specification file name that was imported to Cortex XDR.
Findings
The total number of findings is broken down by severity, and findings with a severity of high trigger an issue.
Status
Indicates if the specification is:
Unknown
Active
Recently Active
Inactive
Deleted
Click the API asset to open the side card. Each tab includes detailed information from the parsed data of the API.
You can add Comments (
) to the specification, providing additional context about the API endpoints or other relevant information.
Import API specification
Cortex XDR enables you to import YAML or JSON files. After importing the file, Cortex XDR analyzes the data to identify vulnerabilities to help you effectively manage and enforce security measures.
How to import an API Specification
Go to Inventory → All Assets → APIs → Specification.
Click Import API Specification.
Drop or browse for the API specification file and add the server of where the file is hosted. This field is automatically filled if the file contains the server URL or host. If there is no URL or host in the file, you must manually add the URL or host address.
Click Import.
It can take up to 30 minutes to import the file.
Last updated
Was this helpful?


