Palo Alto Cortex Antivirus Integration

Overview

You can configure the Palo Alto Cortex antivirus integration to scan files during transfer and detect or block threats.

After the integration is complete, files are scanned at the configured Scan timing. If a threat is detected, the transfer is blocked or an alert is generated according to the selected On detection action. The files to scan are defined by the Scan scope.

The entire process consists of two steps: ① Check credentials → ② Configure the integration in the product.

Prerequisites

Before you begin, check the following.

ItemDescription
Palo Alto CortexA Palo Alto Cortex environment and API access permissions for file scanning are required.
API CredentialsAn API Endpoint and API Key are required.
NetworkOutbound HTTPS (443) communication to the API Endpoint must be allowed from the environment where the product is installed.

Check Credentials

To scan files with Palo Alto Cortex, you need an API Endpoint and API Key.

Step 1. Check the API Endpoint

In the management console, check the API endpoint address to use for file scanning. (Example: https://api.paloaltonetworks.com/...)

API Endpoint Screen

Step 2. Generate an API Key

In the API access settings of the management console, generate or check the API Key and copy it.

ℹ️ Treat this value like a password. Anyone who knows it can access the scanning API, so do not expose it in public repositories or external documents. If it is exposed, revoke the value and generate a new one.

API Key Generation Screen

Verification

  • ✔ The API Endpoint has been checked.
  • ✔ The API Key has been generated.

Configure the Palo Alto Cortex Integration

Enter the verified credentials and configure the scanning options.

Open the Security settings window to display the screen below.

Palo Alto Cortex Antivirus Settings Screen

Step 1. Enter the API Endpoint

Enter the verified address in the API Endpoint field. (Example: https://api.paloaltonetworks.com/...)

Step 2. Enter the API Key

Enter the key generated during credential verification in the API Key field.

Step 3. Select Scan timing

Under Scan timing, select when files should be scanned.

OptionDescription
Before transfer at sourceScans the file at the source before transfer.
After transfer at targetScans the file at the target after transfer.
BothwayScans at both the source before transfer and the target after transfer.

Step 4. Select On detection

Under On detection, select how to handle detected threats.

OptionDescription
Block transferBlocks the transfer when a threat is detected.
Alert onlyAllows the transfer to continue and generates an alert only.
Admin confirmRequires administrator confirmation before proceeding.

Step 5. Select Scan scope

Under Scan scope, select the range of files to scan.

OptionDescription
All filesScans all transferred files.
Executable files onlyScans executable files only.
Custom exceptionsScans according to user-defined exception rules.

Step 6. Save the Settings

After entering the information, click Add to save the integration.

Verification

  • ✔ The API Endpoint and API Key have been entered.
  • ✔ Scan timing, On detection, and Scan scope have been selected.

Verify the Integration

Verify that the configuration works correctly.

Step 1. Transfer a Test File

Transfer an actual file to verify that scanning is performed. You can verify scanning behavior using a safe test file such as the standard antivirus test file (EICAR).

File Transfer Screen

Step 2. Check the Result

Verify that the configured On detection action works as expected. (For example, Block transfer blocks the transfer, while Alert only generates an alert.)

Scan Result Screen

Verification

  • ✔ File scanning has been performed.
  • ✔ The configured handling action works as expected.

Setup Complete

The integration is applied when you save the settings. Afterward, transferred files are scanned at the specified timing and scope, and detected threats are handled according to the configured action.

Troubleshooting

If scanning does not work correctly, check the following.

ProblemWhat to Check
Scan is not performedVerify that the API Endpoint and API Key are correct and contain no leading/trailing spaces or missing values
Authentication error occursVerify that the API Key is valid and has not been revoked or regenerated
Transfer is not blocked when a threat is detectedVerify that On detection is set to Block transfer
Certain files are not scannedCheck the Scan scope setting (All files / Executable files only / Custom exceptions)
Transfer is slowerIf Scan timing is set to Bothway, scanning in both directions may take additional time (adjust if necessary)
Integration fails in a closed networkVerify that outbound communication to the API Endpoint (443) is allowed through the firewall or proxy