Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import of scripts from this pack does not work #47

Open
ali-sawyer opened this issue Oct 2, 2024 · 2 comments
Open

Import of scripts from this pack does not work #47

ali-sawyer opened this issue Oct 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ali-sawyer
Copy link

Describe the bug

If you download the content pack as a zip file from this page, and upload the zip file to an XSOAR instance as custom content, the scripts silently fail to import. No error is thrown, the scripts just don’t get added to the system. (Other types of content items get imported successfully.)

Expected behavior

Scripts should get imported into XSOAR.

Current behavior

Scripts do not get imported into XSOAR.

Possible solution

After changed the filename prefix of each script from "script-" to "automation-", re-zipping the content, and re-uploading to XSOAR, the scripts get imported successfully.

Steps to reproduce

  1. Use a new, clean XSOAR 8 instance that does not already have this pack uploaded to it. (I found this bug using XSOAR 8.8.)
  2. Download the latest pack zip file from the Releases page: https://github.com/PaloAltoNetworks/xsoar-panos-upgrade-automation/releases/download/v2.0/PAN_OS_Upgrade_Services.zip
  3. Navigate to Settings & Info > Settings > Server Settings > Custom Content and upload the zip file. Click Save. Wait for the content to finish importing.
  4. Navigate to Scripts and observe that the scripts contained in the content pack were NOT uploaded to the XSOAR instance (whereas other types of content items were).

Context

I was trying to help a customer upload the pack. The issue with the scripts not importing caused some confusion, but fortunately it was an easy fix.

Your Environment

XSOAR 8.8 SaaS
Prisma Access Browser version 129.71.2903.1

@ali-sawyer ali-sawyer added the bug Something isn't working label Oct 2, 2024
@alperenkose
Copy link
Collaborator

This is most likely an issue with demisto-sdk zip-packs command. But let's keep this open to track.

@ali-sawyer
Copy link
Author

@alperenkose you're exactly right, this is done by the demisto-sdk zip-packs command. Are you reporting this to the SDK team or want me to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants