<?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: Upgrade 20.04, twistcli Status: 401 Unauthorized in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/547987#M979</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are downloading `twistcli` make sure you have the right API endpoints. Use /.../api/v.../authenticate on the specific instance relevant to your tenant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli" href="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli" target="_blank" rel="noreferrer noopener"&gt;https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli&lt;/A&gt; and &lt;A title="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli" href="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli" target="_blank" rel="noreferrer noopener"&gt;https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli&lt;/A&gt;&lt;BR /&gt;download successfully with the Authorization: header.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Authorization: Bearer &amp;lt;jwt&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 07:25:39 GMT</pubDate>
    <dc:creator>NSheridan-Smith</dc:creator>
    <dc:date>2023-07-03T07:25:39Z</dc:date>
    <item>
      <title>Upgrade 20.04, twistcli Status: 401 Unauthorized</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/326223#M259</link>
      <description>&lt;P&gt;Given upgrade Prisma Cloud SaaS from 19.11 to 20.04&lt;/P&gt;
&lt;P&gt;And Administrator role&lt;/P&gt;
&lt;P&gt;And old API key deactivated&lt;/P&gt;
&lt;P&gt;And new API key created&lt;/P&gt;
&lt;P&gt;And new twistlock binary downloaded to workstation&lt;/P&gt;
&lt;P&gt;When I invoke &lt;STRONG&gt;&lt;EM&gt;twistcli images scan --token $token --details --address &lt;A href="https://us-east1.cloud.twistlock.com/us-1-111574323" target="_blank" rel="noopener"&gt;https://us-east1.cloud.twistlock.com/us-1-111574323&lt;/A&gt; iarcgisserver:latest&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then it replies Status: 401 Unauthorized&lt;BR /&gt;GET &lt;A href="https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/version" target="_blank" rel="noopener"&gt;https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/version&lt;/A&gt; failed.&lt;BR /&gt;Error:&lt;/P&gt;
&lt;P&gt;However, Given the same criteria above&lt;/P&gt;
&lt;P&gt;When I invoke &lt;STRONG&gt;&lt;EM&gt;curl --request GET --url &lt;A href="https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/version" target="_blank" rel="noopener"&gt;https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/version&lt;/A&gt; --header 'accept: application/json; charset=UTF-8' --header "x-redlock-auth: $token"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;Then it replies "20.04.163"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 23:23:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/326223#M259</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-02-07T23:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 20.04, twistcli Status: 401 Unauthorized</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/326483#M260</link>
      <description>&lt;P&gt;Can I recognize this problem and its solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;twistlock apis SUCCEED to authorize with prisma cloud token&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;curl --request POST \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;--url &lt;A href="https://api.prismacloud.io/login" target="_blank"&gt;https://api.prismacloud.io/login&lt;/A&gt; \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;--header 'accept: application/json; charset=UTF-8' \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;--header 'content-type: application/json; charset=UTF-8' \&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;--data '{"username":"ur_key","password":"ur_secret","customerName":"ur_mnemonic"}'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;twistcli FAIL to authorize with prisma cloud token, you must use a twistlock token.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;curl -sk &lt;A href="https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/authenticate" target="_blank"&gt;https://us-east1.cloud.twistlock.com/us-1-111574323/api/v1/authenticate&lt;/A&gt; -H 'Content-Type: application/json' -d '{"username":"ur_key","password":"ur_secret"}'&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 19:07:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/326483#M260</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2020-05-08T19:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 20.04, twistcli Status: 401 Unauthorized</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/547987#M979</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are downloading `twistcli` make sure you have the right API endpoints. Use /.../api/v.../authenticate on the specific instance relevant to your tenant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli" href="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli" target="_blank" rel="noreferrer noopener"&gt;https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/arm64/twistcli&lt;/A&gt; and &lt;A title="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli" href="https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli" target="_blank" rel="noreferrer noopener"&gt;https://europe-west3.cloud.twistlock.com/eu-2-143566881/api/v30.02/util/twistcli&lt;/A&gt;&lt;BR /&gt;download successfully with the Authorization: header.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Authorization: Bearer &amp;lt;jwt&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 07:25:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/upgrade-20-04-twistcli-status-401-unauthorized/m-p/547987#M979</guid>
      <dc:creator>NSheridan-Smith</dc:creator>
      <dc:date>2023-07-03T07:25:39Z</dc:date>
    </item>
  </channel>
</rss>

