diff --git a/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.py b/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.py index b3cdf8b2e148..0f943e1afbb5 100644 --- a/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.py +++ b/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.py @@ -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) diff --git a/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml b/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml index 0934e78fcc92..b0a73ee1b32d 100644 --- a/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml +++ b/Packs/PrismaCloud/Integrations/PrismaCloudV2/PrismaCloudV2.yml @@ -9,7 +9,8 @@ display: Prisma Cloud v2 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 @@ -111,7 +112,7 @@ script: script: '' type: python subtype: python3 - dockerimage: demisto/python3:3.10.13.83255 + dockerimage: demisto/python3:3.10.13.84405 isfetch: true isremotesyncin: true isremotesyncout: true diff --git a/Packs/PrismaCloud/ReleaseNotes/4_2_16.md b/Packs/PrismaCloud/ReleaseNotes/4_2_16.md new file mode 100644 index 000000000000..ed8331078b12 --- /dev/null +++ b/Packs/PrismaCloud/ReleaseNotes/4_2_16.md @@ -0,0 +1,5 @@ + +#### Integrations +##### Prisma Cloud v2 +- Updated the documentation and errors regarding the *Server URL* parameter. +- Updated the Docker image to: *demisto/python3:3.10.13.84405*. diff --git a/Packs/PrismaCloud/pack_metadata.json b/Packs/PrismaCloud/pack_metadata.json index de96e4e39410..7dbe57da3afc 100644 --- a/Packs/PrismaCloud/pack_metadata.json +++ b/Packs/PrismaCloud/pack_metadata.json @@ -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": "",