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

Prisma Cloud Server URL additional info & error #32056

Merged
merged 7 commits into from Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.py
Expand Up @@ -2236,6 +2236,9 @@ def main() -> None:
error_msg = str(e)
if hasattr(e, 'res'):
error_msg += get_response_status_header(e.res) # type: ignore[attr-defined]
if hasattr(e.res, 'status_code') and e.res.status_code == 401: # type: ignore[attr-defined]
error_msg = 'Authentication failed. ' \
'Check that the Server URL parameter is correct and validate your credentials.\n' + error_msg
return_error(error_msg, error=e)


Expand Down
@@ -1,4 +1,4 @@
sectionOrder:

Check failure on line 1 in Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

Validation Error DO106

The docker image tag is not the latest numeric tag, please update it. The docker image tag in the yml file is: 3.10.13.83255 The latest docker image tag in docker hub is: 3.10.13.84405 You can check for the most updated version of demisto/python3 here: https://hub.docker.com/r/demisto/python3/tags To update the docker image run: demisto-sdk format -ud -i Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml
- Connect
- Collect
commonfields:
Expand All @@ -9,7 +9,8 @@
category: Network Security
description: Prisma Cloud secures infrastructure, workloads and applications, across the entire cloud-native technology stack.
configuration:
- name: url
- additionalinfo: 'Prisma Cloud service tenant admin console URL. The URL for the Prisma Cloud service varies depending on the cluster on which your tenant is deployed. For more information see: https://pan.dev/prisma-cloud/api/cspm/api-urls/.'
name: url
display: Server URL
defaultvalue: https://api.prismacloud.io/
type: 0
Expand Down
4 changes: 4 additions & 0 deletions Packs/PrismaCloud/ReleaseNotes/4_2_16.md
@@ -0,0 +1,4 @@

#### Integrations
##### Prisma Cloud v2
Updated the documentation and errors regarding the *Server URL* parameter.
2 changes: 1 addition & 1 deletion Packs/PrismaCloud/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Prisma Cloud by Palo Alto Networks",
"description": "Automate and unify security incident response across your cloud environments, while still giving a degree of control to dedicated cloud teams.",
"support": "xsoar",
"currentVersion": "4.2.15",
"currentVersion": "4.2.16",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down