<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Prisma Fargate App Embedded Defender protecting a container image based on scratch image in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/476616#M479</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm looking for guidance on what the App embedded defender's pre-requisites are when it is going to protect a docker image that is based on the scratch image.&amp;nbsp; From what I've briefly seen there'd at least need to be a shell (/bin/sh) available in the container image defender is attempting to override the entrypoint on.&amp;nbsp; I did briefly add busybox to a scratch based image to satisfy having a shell available, but without luck, the defender entrypoint script fails with a result of 1.&amp;nbsp; Has anyone protected a from scratch docker image using the Fargate app embedded defender sidecar before?&amp;nbsp; If so, what are all of the pre-req binaries and expectations defender needs in the image it's going to protect?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 15:36:59 GMT</pubDate>
    <dc:creator>ebrumfield</dc:creator>
    <dc:date>2022-04-20T15:36:59Z</dc:date>
    <item>
      <title>Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/476616#M479</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm looking for guidance on what the App embedded defender's pre-requisites are when it is going to protect a docker image that is based on the scratch image.&amp;nbsp; From what I've briefly seen there'd at least need to be a shell (/bin/sh) available in the container image defender is attempting to override the entrypoint on.&amp;nbsp; I did briefly add busybox to a scratch based image to satisfy having a shell available, but without luck, the defender entrypoint script fails with a result of 1.&amp;nbsp; Has anyone protected a from scratch docker image using the Fargate app embedded defender sidecar before?&amp;nbsp; If so, what are all of the pre-req binaries and expectations defender needs in the image it's going to protect?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 15:36:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/476616#M479</guid>
      <dc:creator>ebrumfield</dc:creator>
      <dc:date>2022-04-20T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/509663#M537</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would recommend reviewing the requirements document to ensure that the docker engine version is supported and the required kernel capabilities are available for the defender to access: &lt;/SPAN&gt;&lt;A class="waffle-rich-text-link" href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/system_requirements#_system_requirements__docker_support" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/system_requirements#_system_requirements__docker_support&lt;/A&gt;&lt;SPAN&gt; If there are still issues after reviewing this document and the document on how to deploy an app embeded defender ( &lt;/SPAN&gt;&lt;A class="waffle-rich-text-link" href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/install_defender/install_rasp_defender" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/install_defender/install_rasp_defender&lt;/A&gt;&lt;SPAN&gt; ) we would need to see any errors that are available from the docker deployment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 21:20:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/509663#M537</guid>
      <dc:creator>RPrasadi</dc:creator>
      <dc:date>2022-07-22T21:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/514966#M690</link>
      <description>&lt;P&gt;We already have several images being protected by prisma defender running successfully in a handful of ECS Fargate clusters, which are based on RedHat UBI 8 and UBI 8 minimal.&amp;nbsp; I've definitely followed those links.&amp;nbsp; The issue I've seen is that you can't protect a container image that is based off scratch or even busybox.&amp;nbsp; It appears that the prisma defender agent expects that /bin/sh and other binaries are available in the image, which they may not be when running a container image deriving from scratch that you're trying to protect.&lt;BR /&gt;&lt;BR /&gt;To reproduce the issue you could probably try to protect any image that derives from scratch, could be a simple hello world http application that runs in a scratch based container and you try to protect it with defender, it will fail to run with defender exiting with a result/code of 1 and not much of an error.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 14:00:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/514966#M690</guid>
      <dc:creator>ebrumfield</dc:creator>
      <dc:date>2022-09-15T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515022#M695</link>
      <description>&lt;P&gt;Hi Ebrumfield,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&amp;nbsp;&lt;SPAN&gt;The embed process modifies the container’s entrypoint to run App-Embedded Defender. The App-Embedded Defender, in turn, runs the original entrypoint program under its control.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV&gt;&amp;nbsp;
&lt;DIV&gt;When you deploy an App-Embedded Defender, it’s embedded inside the container. The embed process modifies the container’s entrypoint to run App-Embedded Defender first, which in turn starts the original entrypoint program.
&lt;DIV&gt;&amp;nbsp;
&lt;DIV class=""&gt;
&lt;DIV&gt;When App-Embedded Defender sends scan data back to Console, it must correlate it to an image. Because App-Embedded Defender runs inside the container, it can’t retrieve any information about the image, specifically the image name and image ID. As such, the deployment flow sets an image name and image ID, and embeds this information alongside the App-Embedded Defender.
&lt;DIV&gt;&amp;nbsp;
&lt;DIV&gt;You can use the following document to deploy an app-embedded defender manually for a hello-world image:
&lt;DIV&gt;&lt;A href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/install_defender/install_app_embedded_defender" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/install/install_defender/install_app_embedded_defender&lt;/A&gt;
&lt;DIV&gt;&amp;nbsp;
&lt;DIV&gt;I hope this answers your question.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Sep 2022 21:39:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515022#M695</guid>
      <dc:creator>musiddiqui</dc:creator>
      <dc:date>2022-09-15T21:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515833#M708</link>
      <description>&lt;P&gt;Do I recall correctly that the Fargate AppDefender is configured as a side-car?&lt;/P&gt;
&lt;P&gt;Thus, it comes with all the dependencies that it needs.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 18:11:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515833#M708</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-09-23T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515834#M709</link>
      <description>&lt;P&gt;Hi TommyHunt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes,&amp;nbsp;&lt;SPAN&gt;the Fargate AppDefender is configured as a side-car.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 18:14:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/515834#M709</guid>
      <dc:creator>musiddiqui</dc:creator>
      <dc:date>2022-09-23T18:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/573428#M1146</link>
      <description>&lt;P&gt;Can someone post an example (json task definition) of how to get defender sidecar with nginx? I just need to get POC working for my sandbox env.&lt;/P&gt;
&lt;P&gt;Prisma documentation doesn't really give much insight on it&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 03:20:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/573428#M1146</guid>
      <dc:creator>Wilson_SWEE</dc:creator>
      <dc:date>2024-01-18T03:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Fargate App Embedded Defender protecting a container image based on scratch image</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/573566#M1149</link>
      <description>&lt;P&gt;Hi Wilson_SWEE,&lt;/P&gt;
&lt;P&gt;While we don't have any examples of defended Fargate tasks using NGINX , I looked for quite some time and was unable to find any reasonably simple Fargate examples with NGINX in general. There are only a few out there and each of them is somewhat lengthy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could try following this article from an AWS developer advocate and then try either the CloudFormation template version of the task definition with our task generation process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://containersonaws.com/pattern/nginx-reverse-proxy-sidecar-ecs-fargate-task" target="_blank" rel="noopener"&gt;NGINX reverse proxy sidecar for a web container hosted with Amazon ECS and AWS Fargate&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternately, you could take the final JSON task definition and use that with our task generator. However, this method requires removing some unsupported parameters which are inserted after configuration since the JSON task definition that appears in the console is not actually an original task definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 22:12:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-fargate-app-embedded-defender-protecting-a-container/m-p/573566#M1149</guid>
      <dc:creator>CloudEngineer</dc:creator>
      <dc:date>2024-01-18T22:12:47Z</dc:date>
    </item>
  </channel>
</rss>

