Curious why Prisma Cloud needs "kms:decrypt" permission for "*" in AWS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Curious why Prisma Cloud needs "kms:decrypt" permission for "*" in AWS

L1 Bithead

While onboarding our AWS account using this template, I had a developer ask why "kms:decrypt" is granted on all "*" resources. I'm wondering if anyone knows the reason so that I can relay it to them.

1 accepted solution

Accepted Solutions

L2 Linker

Hi, I hope you are doing well. The "kms:decrypt" permission is needed to extract serverless function environment variables (part of lambda:ListFunctions query). I've seen while working with customers, that the function scans fail because of a lack of access to kms resources. It might seem like more than should be needed, but sometimes the artifact simply can't be fully observed without it.

 

It is sometimes also needed to read encrypted images in ECR. I hope this answers your question.

Muhammad Wahaaj Siddiqui | Sr. Technical Support Engineer - Prisma Cloud Compute | PCCSE, CKA, CKS, AWS SysOps, AWS DevOps Professional

View solution in original post

2 REPLIES 2

L2 Linker

Hi, I hope you are doing well. The "kms:decrypt" permission is needed to extract serverless function environment variables (part of lambda:ListFunctions query). I've seen while working with customers, that the function scans fail because of a lack of access to kms resources. It might seem like more than should be needed, but sometimes the artifact simply can't be fully observed without it.

 

It is sometimes also needed to read encrypted images in ECR. I hope this answers your question.

Muhammad Wahaaj Siddiqui | Sr. Technical Support Engineer - Prisma Cloud Compute | PCCSE, CKA, CKS, AWS SysOps, AWS DevOps Professional

Thank you very much!

  • 1 accepted solution
  • 2280 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!