- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-12-2022 02:27 PM
Given that I navigate to PCCConsole/Manage/Defenders/Deploy/Defender/Single Defender/Container Defender - App Embedded/Fargate task
And I paste the Fargate Task Definition JSON produced by AWS ECS
When I push the 'Generate protected task' button
And Copy Prisma's generated JSON
And Paste it into the new revision of an existing Task Definition
Then I get many error, 'Should only contain 'family', 'containerDefinitions', 'volumes', 'taskRoleArn', 'networkMode', 'requiresCompatibilities', 'cpu', 'memory', 'inferenceAccelerators', 'executionRoleArn', 'pidMode', 'ipcMode', 'proxyConfiguration', 'tags', 'runtimePlatform', 'placementConstraints'.'
And I have to eliminate json objects in order for AWS to accept the definition.
JSON zipped and attached; you can use a diff tool to see what JSON had to be deleted.
Why isn't Prisma's generated JSON acceptable to AWS?
What am I doing wrong?
Are the modifications that I made accpetable?
After making the modifications, is my Task protected?
10-13-2022 06:51 AM
Hi Tommy,
This happens when a task definition is exported / copied from AWS and then pasted into Compute's protected task generation field. If you copy solely the original Fargate task and use that in Compute's protected task generator, and then use the result in a new Fargate task definition, you won't receive those errors.
Regards,
11-01-2022 12:29 PM
@CloudEngineer dude, you were correct the whole time. The Prisma Cloud Compute SecurityHub Alert Provider works perfectly fine.
I got misinformation from support case 02326773. Here is how I determined that the Registry Scanned CVEs and Compliance vulnerabilities were generating Alerts and propogating them to AWS SecurityHub/Findings Console. I entered this Filter criteria and then I could see the CVE-Alerts.
I still have NO explanation for those errors that I cited at the beginning of this
10-13-2022 06:51 AM
Hi Tommy,
This happens when a task definition is exported / copied from AWS and then pasted into Compute's protected task generation field. If you copy solely the original Fargate task and use that in Compute's protected task generator, and then use the result in a new Fargate task definition, you won't receive those errors.
Regards,
10-13-2022 11:50 AM
Thanks Brandon; choosing that version of a task definition was a poor choice. Given the dynamic nature of task definitions, the task definition is always a template where fields are populated with values and the transformed json is submitted via automation, for example terraform modules or CloudFormationTemplates. Thus the original JSON Task Definition is never seen by the developer, it is neither handled by a developer nor checked into a version-control-system. Bottom-line: unless the developer manually codes it, they can't submit the version of JSON that the API was made to consume.
10-13-2022 11:52 AM
Thanks again, I am grateful for your help.
10-14-2022 07:42 AM
You're welcome! I'm happy to help. I understand your feedback and I just wanted to inform you that we do have an RFE (Request for Enhancement) process. I believe that you will just need an account in our customer support portal to submit this, The more unique company votes it receives, the more visibility it will receive.
https://prismacloud.ideas.aha.io/ideas/new
Regards,
11-01-2022 12:29 PM
@CloudEngineer dude, you were correct the whole time. The Prisma Cloud Compute SecurityHub Alert Provider works perfectly fine.
I got misinformation from support case 02326773. Here is how I determined that the Registry Scanned CVEs and Compliance vulnerabilities were generating Alerts and propogating them to AWS SecurityHub/Findings Console. I entered this Filter criteria and then I could see the CVE-Alerts.
I still have NO explanation for those errors that I cited at the beginning of this
11-01-2022 12:33 PM
please delete, disregard that comment above; it is intended for another conversation.
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!