Skip to content

Fix broken action - zscaler_connector.py: URLs could not be submitted… - #36

Open
MrAdamBlack wants to merge 1 commit into
splunk-soar-connectors:mainfrom
MrAdamBlack:fix-action-add-category-url
Open

Fix broken action - zscaler_connector.py: URLs could not be submitted…#36
MrAdamBlack wants to merge 1 commit into
splunk-soar-connectors:mainfrom
MrAdamBlack:fix-action-add-category-url

Conversation

@MrAdamBlack

Copy link
Copy Markdown

… to ZScaler Custom URL Categories due to missing parameters.

Bug Fixes

Describe any bugs you've fixed in this app, and how they were fixed

  • Action: Add category URL was broken for Custom URL Categories.
    Previously, URLs were added using the dbCategorizedUrls field and a generic PUT request to /api/v1/urlCategories/{category_id}. This approach failed for Custom URL Categories due to missing required parameters and incorrect endpoint usage.
    The fix updates the logic to use the urls field and sends a PUT request to /api/v1/urlCategories/{category_id}?action=ADD_TO_LIST, including necessary fields like superCategory and configuredName. This aligns with ZScaler’s API expectations for modifying Custom URL Categories and restores functionality.

Manual Documentation

Have you made any changes that should be documented in manual_readme_content.md?

The following changes require documentation in manual_readme_content.md:

No new REST handlers or authentication methods were added.

No changes affecting deployment compatibility.

However, the behavior of the Add Category URL action has changed for Custom URL Categories and should be noted in the manual to reflect the updated API usage and required parameters.

  • I have verified that manual documentation has been updated where appropriate

Other information

This change ensures compatibility with ZScaler’s current API structure for managing Custom URL Categories.

The update improves reliability and prevents silent failures when adding URLs to user-defined categories.


Please refer to our Contribution Guide for any questions on submitting a pull request.

Thanks for contributing!

… to ZScaler Custom URL Categories due to missing parameters.
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown

Thank you for your submission! We will take a look as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant