Skip to main content

PAN-OS - Enforce Anti-Virus Best Practices Profile

This Playbook is part of the MITRE ATT&CK - Courses of Action Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This playbook enforces the Anti-Virus Best Practices Profile as defined by Palo Alto Networks BPA. The playbook performs the following tasks:

  • Check for Threat Prevention license (If license is not activated, the playbook refers users to their Palo Alto Networks account manager for further instructions).
  • Get the existing profile information.
  • Get the best practices profile information.
  • Check if the best practices profile set by Cortex XSOAR is enforced. (If not, the playbook allows the user to compare the existing profile with the best practices and decide on the action to take).
  • Create best practices profile.
  • Apply profile to policy rules on PAN-OS firewall or Panorama.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

  • Palo Alto Networks BPA - Submit Scan
  • PAN-OS - Apply Security Profile to Policy Rule
  • PAN-OS Commit Configuration

Integrations#

This playbook does not use any integrations.

Scripts#

  • DeleteContext
  • SetAndHandleEmpty
  • IsIntegrationAvailable
  • ExportToCSV

Commands#

  • pan-os-get-antivirus-best-practice
  • pan-os-get-security-profiles
  • pan-os-create-antivirus-best-practice-profile
  • pan-os-get-licenses
  • setIncident

Playbook Inputs#


NameDescriptionDefault ValueRequired
device-groupThe device group to work on. Exists only in panorama!Optional
tagTag for which to filter the results.Optional
pre-post-rulebaseDetermines whether the rule is a pre-rulebase or post-rulebase rule, according to the rule structure. Exists only in panorama!Optional

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


PAN-OS - Enforce Anti-Virus Best Practices Profile