Integrate Prisma Cloud with Amazon SQS
Learn how to integrate Prisma™ Cloud with Amazon Simple Queue Service (SQS).
Prisma™ Cloud supports Amazon Simple Queue Service (SQS) to send alerts, and you can use the AWS CloudFormation service to enable custom workflows, as needed.
As soon as an alert is generated, the entire alert payload is sent to Amazon SQS. The alert payload also includes the command-line interface (CLI) remediation (the CLI commands and any instructions for those commands).
- Configure Amazon SQS to receive Prisma Cloud alerts.
- Log in to the Amazon console with the necessary credentials to create and configure the SQS.
- ClickSimple Queue Services(underApplication Integration).
- Create New Queueor use an existing queue.
- Enter a Queue Name and choose a Queue Type—StandardorFIFO.
- ClickConfigure Queue.For the attributes specific to the Queue, use either the AWS default selection or set them per your company policies.Use SSEto keep all messages in the Queue encrypted, and select the default AWS KMS Customer Master Key (CMK) or enter your CMK ARN.
- Create Queue.This creates and displays your SQS Queue
- Click the Queue that you created and view theDetailsand copy theURLfor this queue.You provide this value in Prisma Cloud to integrate Prisma Cloud notifications in to this Queue.
- If you are using a Customer Managed Key to encrypt queues in Amazon SQS, you must configure the Prisma Cloud Role with explicit permission to read the key.
- On the Amazon console, selectandKMSCustomer Managed KeysCreate Key.Refer to the AWS documentation for details on creating keys.
- Enter an Alias and Description, and add any requiredTagsand clickNext.
- Select the IAM users and roles who can use this key through theKMSAPI and clickNext.
- Select the IAM users and roles who can use this key to encrypt and decrypt the data.
- Review the key policy and clickFinish.
- Enable read-access permissions to Amazon SQS on the IAM Role policy.The Prisma Cloud IAM Role policy you use to onboard your AWS setup needs these permissions:"sqs:GetQueueAttributes", "sqs:ListQueues","sqs:SendMessage", "sqs:SendMessageBatch", "tag:GetResources"If you used the CFT templates to onboard your AWS account and the SQS queue belongs to the same cloud account, Prisma Cloud IAM Role policy already has the permissions required for Amazon SQS. If the SQS belongs to a different cloud account, you must provide the relevant IAM credentials (Access Key and Secret Key) when you enable the SQS integration in the next step.
- Set up Amazon SQS integration in Prisma Cloud.
- Log in to Prisma Cloud.
- Set theIntegration TypetoAmazon SQS.
- Enter aNameandDescriptionfor the integration.
- Enter theQueue URLthat you copied when you configured Prisma Cloud in Amazon SQS.
- SelectMore Optionsto provide the credentials if you want to use a different IAM role to access SQS.By default, Prisma Cloud uses the same credentials with which you onboarded the AWS account to Prisma Cloud to access the SQS queue. If you want to include a different IAM role, you must enter the IAM Security Credentials—Access Key and Secret Key.This IAM user must havesqs:SendMessageandsqs:SendMessageBatchpermissions.
- ClickNextand thenTest.You should receive a success message.
- ClickSave.After you set up the integration successfully, if the SQS URL is unresponsive, the status red () and green when the issue is resolved.SettingsIntegrations
- Create an Alert Rule or modify an existing rule to enable the Amazon SQS Integration.
Recommended For You
Recommended videos not found.