<?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 Re: App-Embedded Defender REST endpoint in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/1204479#M1401</link>
    <description>&lt;P&gt;I am having the same problem. I get the same error message whether I pass in valid contents Dockerfile name, non-existing filename or bad contents Dockerfile name. It seems that endpoint is not finding the specified file but not saying it can't find the file.&amp;nbsp;&lt;BR /&gt;From where I am issuing rest api call from, am I supposed to give relative path of Dockerfile for "dockerfile" or something else?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation doesn't say where the file needs to exist.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN class="openapi-schema__container"&gt;&lt;STRONG class="openapi-schema__property"&gt;dockerfile&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN class="openapi-schema__name"&gt;string&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Dockerfile is the Dockerfile to embed AppEmbedded defender into.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 03:17:20 GMT</pubDate>
    <dc:creator>MKido-Holston</dc:creator>
    <dc:date>2025-01-21T03:17:20Z</dc:date>
    <item>
      <title>App-Embedded Defender REST endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/615774#M1345</link>
      <description>&lt;P&gt;I am trying to automate the deployment of app-embedded defenders by using the REST endpoint to update Dockerfiles, but whenever I try to send the Dockerfile, I get an error message "failed to embed Dockerfile: could not find ENTRYPOINT directive".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently sending the dockerfile address; do I need to instead send the dockerfile itself as a string?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 13:38:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/615774#M1345</guid>
      <dc:creator>FGuerra</dc:creator>
      <dc:date>2024-10-30T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: App-Embedded Defender REST endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/616848#M1350</link>
      <description>&lt;P&gt;Hello FGuerra,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;App-Embedded defenders require an ENTRYPOINT to be present in the Dockerfile. It uses that as the trigger to initialize properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did a post help answer your question? Please click the “Accept as Solution” button. Read more about &lt;/SPAN&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/how-and-why-to-accept-a-solution-to-your-post/td-p/552976" target="_blank"&gt;&lt;SPAN&gt;how and why accepting solutions&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; is a vital part of LIVEcommunity.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 20:18:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/616848#M1350</guid>
      <dc:creator>JJean-Claude</dc:creator>
      <dc:date>2024-11-11T20:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: App-Embedded Defender REST endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/616849#M1351</link>
      <description>&lt;P&gt;Including a sample here below for reference&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FROM tiangolo/uwsgi-nginx-flask:python3.6&lt;/P&gt;
&lt;P&gt;RUN mkdir /code&lt;BR /&gt;WORKDIR /code&lt;BR /&gt;ADD requirements.txt /code/&lt;BR /&gt;RUN pip install -r requirements.txt --no-cache-dir&lt;BR /&gt;ADD . /code/&lt;/P&gt;
&lt;P&gt;# ssh&lt;BR /&gt;ENV SSH_PASSWD "root:Docker!"&lt;BR /&gt;RUN apt-get update \&lt;BR /&gt;&amp;amp;&amp;amp; apt-get install -y --no-install-recommends dialog \&lt;BR /&gt;&amp;amp;&amp;amp; apt-get update \&lt;BR /&gt;&amp;amp;&amp;amp; apt-get install -y --no-install-recommends openssh-server \&lt;BR /&gt;&amp;amp;&amp;amp; echo "$SSH_PASSWD" | chpasswd&lt;/P&gt;
&lt;P&gt;COPY sshd_config /etc/ssh/&lt;BR /&gt;COPY init.sh /usr/local/bin/&lt;/P&gt;
&lt;P&gt;RUN chmod u+x /usr/local/bin/init.sh&lt;BR /&gt;EXPOSE 8000 2222&lt;BR /&gt;#CMD ["python", "/code/manage.py", "runserver", "0.0.0.0:8000"]&lt;BR /&gt;&lt;STRONG&gt;ENTRYPOINT&lt;/STRONG&gt; ["init.sh"]&lt;/P&gt;
&lt;P&gt;# Twistlock Container Defender - app embedded&lt;BR /&gt;ADD twistlock_defender_app_embedded.tar.gz /twistlock&lt;BR /&gt;ENV DEFENDER_TYPE="appEmbedded"&lt;BR /&gt;ENV DEFENDER_APP_ID="aws-webapp"&lt;BR /&gt;ENV FILESYSTEM_MONITORING="false"&lt;BR /&gt;ENV WS_ADDRESS="wss://us-east1.cloud.twistlock.com:443"&lt;BR /&gt;ENV DATA_FOLDER="/twistlock"&lt;BR /&gt;ENV INSTALL_BUNDLE="eyJzZWNyZXRzIjp7InNlcnZpY2UtcGFyYW1ldGVyIjoiV1RCb1I2U0Z4TVAyc1dpQjlUN1ZDa1dlTG5hL0JBQ0VYeVVmUnBQWitGWjVWN2tXR2dNVERGOHlaSkpoQm42Vk1FTXZSOWxnbGNPT0txaDBiUmR4b2c9PSJ9LCJnbG9iYWxQcm94eU9wdCI6eyJodHRwUHJveHkiOiIiLCJub1Byb3h5IjoiIiwiY2EiOiIiLCJ1c2VyIjoiIiwicGFzc3dvcmQiOnsiZW5jcnlwdGVkIjoiIn19LCJjdXN0b21lcklEIjoidXMtMi0xNTgzMjAzNzIiLCJhcGlLZXkiOiJna0lFSWNSQjhNWmFnQVRwcUlKTVB0ZWNPY1o0VGpRek1vWGhmSVZMbXpMQTRON2ErNE5kWndIbWphSzBmSUNpejdoNldJa0hOQWdOQy9UY0ZPNmhaQT09IiwibWljcm9zZWdDb21wYXRpYmxlIjpmYWxzZSwiaW1hZ2VTY2FuSUQiOiJmMTcwYWY0My05NzU2LTBmMDAtM2JjZS05NjNjZGRlMDVjZjQifQ=="&lt;BR /&gt;ENV FIPS_ENABLED="false"&lt;BR /&gt;&lt;STRONG&gt;ENTRYPOINT&lt;/STRONG&gt; ["/twistlock/defender", "app-embedded", "init.sh"]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did a post help answer your question? Please click the “Accept as Solution” button. Read more about&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/how-and-why-to-accept-a-solution-to-your-post/td-p/552976" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;how and why accepting solutions&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;is a vital part of LIVEcommunity.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 20:20:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/616849#M1351</guid>
      <dc:creator>JJean-Claude</dc:creator>
      <dc:date>2024-11-11T20:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: App-Embedded Defender REST endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/1204479#M1401</link>
      <description>&lt;P&gt;I am having the same problem. I get the same error message whether I pass in valid contents Dockerfile name, non-existing filename or bad contents Dockerfile name. It seems that endpoint is not finding the specified file but not saying it can't find the file.&amp;nbsp;&lt;BR /&gt;From where I am issuing rest api call from, am I supposed to give relative path of Dockerfile for "dockerfile" or something else?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation doesn't say where the file needs to exist.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN class="openapi-schema__container"&gt;&lt;STRONG class="openapi-schema__property"&gt;dockerfile&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN class="openapi-schema__name"&gt;string&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Dockerfile is the Dockerfile to embed AppEmbedded defender into.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 03:17:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/1204479#M1401</guid>
      <dc:creator>MKido-Holston</dc:creator>
      <dc:date>2025-01-21T03:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: App-Embedded Defender REST endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/1205065#M1403</link>
      <description>&lt;P&gt;Hello Golden4,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ensure that the files referenced in the ENTRYPOINT setting are in the working directory where the Dockerfile is located.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 18:56:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/app-embedded-defender-rest-endpoint/m-p/1205065#M1403</guid>
      <dc:creator>stumiki</dc:creator>
      <dc:date>2025-01-22T18:56:22Z</dc:date>
    </item>
  </channel>
</rss>

