Skip to content

[ANY.RUN pack update] Add Cortex XDR playbooks, fix the Using input, and improve IOC handling for Sandbox - #46291

Merged
lironcohen272 merged 7 commits into
masterfrom
contrib/anyrun-integrations_fix/dev-02-fix-using-and-add-xdr
Oct 24, 2026
Merged

lironcohen272 merged 7 commits into
masterfrom
contrib/anyrun-integrations_fix/dev-02-fix-using-and-add-xdr

Conversation

@content-bot

Copy link
Copy Markdown
Contributor

Related PRs

Original External PR: #45770

Contributor

@anyrun-integrations

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

No issues

Description

Playbooks

New: ANYRUN Detonate File Windows for XDR
New: ANYRUN Detonate File Linux for XDR
New: ANYRUN Detonate File Android for XDR
New: ANYRUN Detonate URL Windows for XDR
New: ANYRUN Detonate URL Linux for XDR
New: ANYRUN Detonate URL Android for XDR

  • Added six new playbooks that retrieve a file or URL from a Cortex XDR endpoint/issue, submit it to the ANY.RUN Cloud Sandbox for detonation in the matching OS environment (Windows, Linux, or Android), and upload the resulting IOCs to Cortex XDR as indicator rules via core-add-indicator-rule.

ANYRUN Detonate File Windows, ANYRUN Detonate Url Windows

  • New: Added a Using playbook input to select which ANY.RUN Cloud Sandbox integration instance to run the playbook against. If left empty, the first active instance is used automatically.
  • New: Added an opt_automated_interactivity playbook input (default True) to control whether the sandbox automatically interacts with the sample during analysis. This option is only supported on Windows, so it is not exposed on the Linux/Android playbooks below.

ANYRUN Detonate File Linux, ANYRUN Detonate Url Linux, ANYRUN Detonate File Android, ANYRUN Detonate Url Android

  • New: Added a Using playbook input to select which ANY.RUN Cloud Sandbox integration instance to run the playbook against. If left empty, the first active instance is used automatically.

Integrations

ANY.RUN Cloud Sandbox

  • New: Added the opt_automated_interactivity argument (default True) to the anyrun-detonate-file-windows and anyrun-detonate-url-windows commands, to control whether the sandbox automatically interacts with the sample during analysis. This option is not supported on Linux or Android, so it remains hidden and defaults to False for the anyrun-detonate-file-linux, anyrun-detonate-url-linux, anyrun-detonate-file-android, and anyrun-detonate-url-android commands.
  • New: The anyrun-get-analysis-report command with report_format=ioc now also returns indicator details formatted for ingestion as Cortex XDR IOCs (ANYRUN.IOCDetails), in addition to the existing ANYRUN.IOCs output.
  • Fixed anyrun-get-analysis-report failed when the report_format argument was not provided. It now defaults to summary.
  • Fixed anyrun-get-analysis-report with report_format=ioc returned no result when the analysis report contained no IOCs, leaving the command output empty. It now returns a "No IOCs found" message.
  • Fixed the ANYRUN.IOCDetails output sent an invalid reliability code (A - Completely reliable instead of the expected A) and a hardcoded vendor reputation (GOOD) instead of the indicator's actual reputation.
  • Added predefined True/False values to all boolean-like arguments and configuration parameters (e.g. opt_network_connect, opt_network_fakenet, obj_force_elevation, team, and others) so they render as a dropdown instead of free text.
  • Corrected a typo in the team argument's default value (False. → False).
  • Renamed the Root URL configuration parameter display name to Base domain for clarity, and documented the anyrun.us special-access domain option.
  • Internal: fixed a typo in the internal detonate_file_widows/detonate_url_widows function names (widows → windows); no user-facing impact.

Must have

  • Tests
  • Documentation

fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-17909

…and improve IOC handling for Sandbox (#45770)

* feat(general): update integrations and playbooks

* fix pre-commit issues

* feat: add Using parameter to playbooks

* add new xdr playbooks and fix get_analysis_report

* feat(sandbox): add opt_automated_interactivity parameter for actions

* feat: add opt_automated_interactivity, adjust playbooks, fix no iocs message

* fix: delete opt_automated_interactivity for linux and android

* fix: final adjustments and add release notes

* fix: address pre-commit issues

* fix: address after-review comments

* fix: address pre-commit issues

* fix: address pre-commit issues

* fix: address review comment issues

* fix: address review comment issues
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! docs-approved Partner Contribution Form Filled Whether contribution form filled or not. pending-contributor The PR is pending the response of its creator Partner Support Level Indicates that the contribution is for Partner supported pack Internal PR Security Review Partner-Approved TIM Review Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge supported-modules-approved ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines labels Oct 18, 2026
@content-bot

Copy link
Copy Markdown
Contributor Author

🤖 AI-Powered Code Review Available

Hi @lironcohen272, you can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@content-bot

Copy link
Copy Markdown
Contributor Author

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/ANYRUN/Integrations/AnyRunFeed
   AnyRunFeed.py230100% 
Packs/ANYRUN/Integrations/AnyRunLookup
   AnyRunLookup.py937717%56, 77, 79–81, 93–95, 107–111, 123, 136–141, 149–174, 176, 180–185, 187, 189–191, 193–194, 196–198, 200, 202–203, 205–206, 210, 212, 220, 239–240, 242–245, 247
Packs/ANYRUN/Integrations/AnyRunSandbox
   AnyRunSandbox.py39392%102, 110–111
TOTAL1558048% 

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 0 🔥 3.487s ⏱️

Comment thread Packs/ANYRUN/Integrations/AnyRunFeed/AnyRunFeed.py Dismissed
Comment thread Packs/ANYRUN/Integrations/AnyRunLookup/AnyRunLookup.py Dismissed
Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.py Dismissed
@content-bot

This comment has been minimized.

@JuliaH-TW JuliaH-TW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc review complete. Please check the comments and regenerate the integration README file. Someone else has already added the docs-approved label.

Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.yml Outdated
Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.yml Outdated
Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.yml Outdated
Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.yml Outdated
Comment thread Packs/ANYRUN/Integrations/AnyRunSandbox/AnyRunSandbox.yml Outdated
Comment thread Packs/ANYRUN/Playbooks/ANYRUN_Detonate_URL_Windows_for_XDR.yml Outdated
Comment thread Packs/ANYRUN/Playbooks/ANYRUN_Detonate_URL_Windows_for_XDR.yml Outdated
Comment thread Packs/ANYRUN/Playbooks/ANYRUN_Detonate_URL_Windows_for_XDR.yml Outdated
Comment thread Packs/ANYRUN/Playbooks/ANYRUN_Detonate_URL_Windows_for_XDR.yml Outdated
Comment thread Packs/ANYRUN/Playbooks/ANYRUN_Detonate_URL_Windows_for_XDR.yml Outdated

@JuliaH-TW JuliaH-TW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc review complete. Please check the comments and regenerate the integration README file. Someone else has already added the docs-approved label.

@content-bot

This comment has been minimized.

@content-bot

This comment has been minimized.

@lironcohen272 lironcohen272 added the ForceMerge Forcing the merge of the PR despite the build status label Oct 20, 2026
@lironcohen272 lironcohen272 removed the ForceMerge Forcing the merge of the PR despite the build status label Oct 22, 2026
@content-bot

Copy link
Copy Markdown
Contributor Author

Validate summary
The following errors were reported as warnings: BC117 (Approved).
✅ BC117 validation has been approved by PM review (supported-modules-approved label present).
If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

Verdict: PR can be force merged from validate perspective? ✅

@content-bot

Copy link
Copy Markdown
Contributor Author

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: success
Report ID: 3dfbfe51e9a3d307

📋 Triage Report

⚠️ AI-generated triage. Validate before acting.

@lironcohen272
lironcohen272 merged commit c884e70 into master Oct 24, 2026
27 checks passed
@lironcohen272
lironcohen272 deleted the contrib/anyrun-integrations_fix/dev-02-fix-using-and-add-xdr branch October 24, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved Internal PR Partner Support Level Indicates that the contribution is for Partner supported pack Partner Partner-Approved pending-contributor The PR is pending the response of its creator ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge Security Review skip-ai-review supported-modules-approved TIM Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants