The following article details how to enable the Prisma Cloud integration in the Nopsec platform.
You'll first need to create a custom role with the specific "Account Group Read Only" permission, and then assign that role to a new API access key.
Here are the step-by-step instructions.
Step 1: Create the Custom Role
First, you need to define a role that only has read permissions for account groups.
-
Navigate to Settings > Access Control.
-
Select the Roles tab.
-
Click Add Role.
-
Give your role a descriptive Name, such as "Account Group Read Only".
-
In the Permissions section, scroll down to the Account Groups permission.
-
Select the Read Only radio button for this permission. Leave all other permissions as "No Access".
-
Click Save to create the new role.
Step 2: Create the API Access Key
Now, you can create the access key and assign the new role to it.
-
Navigate to Settings > Access Control.
-
Select the Access Keys tab.
-
Click Add Access Key.
-
Enter a descriptive Name for your key.
-
From the Role dropdown menu, select the "Account Group Read Only" role you just created.
-
(Optional) Set an Expiry Date for the key if you want it to automatically deactivate after a certain time.
-
Click Create.
Step 3: Securely Save Your Credentials
After clicking create, a window will pop up displaying your Access Key ID and Secret Key.
-
Important: This is the only time the Secret Key will be displayed. You cannot retrieve it later.
-
Copy both the Access Key ID and the Secret Key immediately and store them in a secure location, such as a password manager or a secure vault. 🔐
Once you close the window, your access key is ready to use with the specified read-only permissions for account groups.
Enable The Prisma Cloud Integration in Nopsec
-
Navigate to Integrations in the NopSec UI and select the option to add the Prisma Cloud Integration.
-
Enter Integration Access Info: When prompted enter the following information and click the "Save and Connect" button:
- Connection Name: Unique name for this integration
- URL: Unique Prisma Cloud platform url: (i.e. https://app.prismacloud.io)
- Access Key ID: The key ID created in the previous steps.
- Secret Key: The authentication key generated in the previous steps.