Skip to main content

Zafran API

This Integration is part of the Zafran Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

In today’s complex security landscape, resource-constrained teams struggle to efficiently mitigate exposure risks across large infrastructures. The Zafran Integration with Palo XSOAR helps you implement Automated, High Impact Mitigations at scale. With this integration, teams can prioritize mitigation actions, trigger playbooks with a single click, and streamline their response efforts, all from within the Palo XSOAR environment.

Configure Zafran API on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Zafran API.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    Server URL (e.g. api.zafran.io)True
    API KeyTrue
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

zafran-mitigation-performed#


Update on mitigations performed

Base Command#

zafran-mitigation-performed

Input#

Argument NameDescriptionRequired
external_ticket_idExternal service ticket ID.Optional
external_ticket_urlExternal service ticket link.Optional
idMitigation ID.Required
stateMitigation status new - New mitigation pending_approval - Waiting for mitigation approval rejected - Mitigative action was rejected. in_progress - Mitigation approved and in progress. completed - Mitigation applied successfully. Possible values are: new, pending_approval, rejected, in_progress, completed.Required

Context Output#

PathTypeDescription
Zafran.MitigationsPerformedResponse.internal_status_codeNumberInternal status code.
Zafran.MitigationsPerformedResponse.messageStringError message.

zafran-mitigations-export#


Export recommended mitigations

Base Command#

zafran-mitigations-export

Input#

Argument NameDescriptionRequired
filterZQL filter.Optional

Context Output#

PathTypeDescription
Zafran.UpstreamMitigation.assets_countNumberAssets count.
Zafran.UpstreamMitigation.control_productStringControl Product.
Zafran.UpstreamMitigation.exposureNumberExposure in days.
Zafran.UpstreamMitigation.idStringZafran mitigation unique id.
Zafran.UpstreamMitigation.mitigation_typeStringMitigation type.
Zafran.UpstreamMitigation.recommendationStringRecommendation.
Zafran.UpstreamMitigation.titleStringTitle.
Zafran.UpstreamMitigation.vulnerabilities_countNumberVulnerabilities count.
Zafran.UpstreamMitigation.internal_status_codeNumberInternal status code.
Zafran.UpstreamMitigation.messageStringError message

zafran-mitigations-performed#


Update on mitigations performed

Base Command#

zafran-mitigations-performed

Input#

Argument NameDescriptionRequired
mitigation_idMitigation ID.Optional
mitigation_idsMitigation IDs.Optional
stateMitigation status new - New mitigation pending_approval - Waiting for mitigation approval rejected - Mitigative action was rejected. in_progress - Mitigation approved and in progress. completed - Mitigation applied successfully. Possible values are: new, pending_approval, rejected, in_progress, completed.Required

Context Output#

PathTypeDescription
Zafran.MitigationsPerformedResponse.internal_status_codeNumberInternal status code.
Zafran.MitigationsPerformedResponse.messageStringError message.