<?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 Curl command to generate App Embedded Defender zip file for Deployment Type, Dockerfile in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/curl-command-to-generate-app-embedded-defender-zip-file-for/m-p/522752#M820</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Given&lt;/STRONG&gt; that I want to automate the generation of App Embedded Defender zip file&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And&lt;/STRONG&gt; there exists a CWPP API documented here, &lt;A href="https://prisma.pan.dev/api/cloud/cwpp/defenders#operation/post-defenders-app-embedded" target="_blank" rel="noopener"&gt;https://prisma.pan.dev/api/cloud/cwpp/defenders#operation/post-defenders-app-embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;When&lt;/STRONG&gt; I attempt to use the example command with my local Dockerfile&lt;/P&gt;
&lt;PRE&gt;curl -k \&lt;BR /&gt;-H "Authorization: Bearer $token" \&lt;BR /&gt;-H 'Content-Type: application/text' \&lt;BR /&gt;-X POST \&lt;BR /&gt;--data-binary "$(&amp;lt; Dockerfile)" \&lt;BR /&gt;--output Dockerfile.zip \&lt;BR /&gt;'https://us-east1.cloud.twistlock.com/secret/api/v22.06/defenders/app-embedded?consoleaddr=us-east1.cloud.twistlock.com&amp;amp;appID=my-test'&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Then&lt;/STRONG&gt; the API returns this error&lt;/P&gt;
&lt;P&gt;{"err":"failed to unmarshal: invalid character 'F' looking for beginning of value"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone provide an example curl command that takes a Dockerfile as input and generates the app-embedded zip file?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 16:05:35 GMT</pubDate>
    <dc:creator>TommyHunt</dc:creator>
    <dc:date>2022-11-29T16:05:35Z</dc:date>
    <item>
      <title>Curl command to generate App Embedded Defender zip file for Deployment Type, Dockerfile</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/curl-command-to-generate-app-embedded-defender-zip-file-for/m-p/522752#M820</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Given&lt;/STRONG&gt; that I want to automate the generation of App Embedded Defender zip file&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And&lt;/STRONG&gt; there exists a CWPP API documented here, &lt;A href="https://prisma.pan.dev/api/cloud/cwpp/defenders#operation/post-defenders-app-embedded" target="_blank" rel="noopener"&gt;https://prisma.pan.dev/api/cloud/cwpp/defenders#operation/post-defenders-app-embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;When&lt;/STRONG&gt; I attempt to use the example command with my local Dockerfile&lt;/P&gt;
&lt;PRE&gt;curl -k \&lt;BR /&gt;-H "Authorization: Bearer $token" \&lt;BR /&gt;-H 'Content-Type: application/text' \&lt;BR /&gt;-X POST \&lt;BR /&gt;--data-binary "$(&amp;lt; Dockerfile)" \&lt;BR /&gt;--output Dockerfile.zip \&lt;BR /&gt;'https://us-east1.cloud.twistlock.com/secret/api/v22.06/defenders/app-embedded?consoleaddr=us-east1.cloud.twistlock.com&amp;amp;appID=my-test'&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Then&lt;/STRONG&gt; the API returns this error&lt;/P&gt;
&lt;P&gt;{"err":"failed to unmarshal: invalid character 'F' looking for beginning of value"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone provide an example curl command that takes a Dockerfile as input and generates the app-embedded zip file?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 16:05:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/curl-command-to-generate-app-embedded-defender-zip-file-for/m-p/522752#M820</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-11-29T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Curl command to generate App Embedded Defender zip file for Deployment Type, Dockerfile</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/curl-command-to-generate-app-embedded-defender-zip-file-for/m-p/522922#M822</link>
      <description>&lt;P&gt;so customers shouldn't be using that API directly.&lt;/P&gt;
&lt;P&gt;Use&lt;SPAN&gt;“twistcli app-embedded embed” command.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See the documentation here... &lt;A style="color: blue; text-decoration: underline; font-family: Calibri, sans-serif; font-size: 14.666666984558105px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" title="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.paloaltonetworks.com%2Fprisma%2Fprisma-cloud%2Fprisma-cloud-admin-compute%2Ftools%2Ftwistcli&amp;amp;data=05%7C01%7CTAHV%40pge.com%7C4d9c36ac26e2438a800608dad2ee05ce%7C44ae661aece641aabc967c2c85a08941%7C0%7C0%7C638054217003477427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=ZMi8gzePiNYX8PM2R3XJiu7d6A5l4cLxDVqOsQxPzjg%3D&amp;amp;reserved=0" contenteditable="false" href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.paloaltonetworks.com%2Fprisma%2Fprisma-cloud%2Fprisma-cloud-admin-compute%2Ftools%2Ftwistcli&amp;amp;data=05%7C01%7CTAHV%40pge.com%7C4d9c36ac26e2438a800608dad2ee05ce%7C44ae661aece641aabc967c2c85a08941%7C0%7C0%7C638054217003477427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=ZMi8gzePiNYX8PM2R3XJiu7d6A5l4cLxDVqOsQxPzjg%3D&amp;amp;reserved=0" target="_blank"&gt;https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-compute/tools/twistcli&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:22:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/curl-command-to-generate-app-embedded-defender-zip-file-for/m-p/522922#M822</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-11-30T19:22:15Z</dc:date>
    </item>
  </channel>
</rss>

