<?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: contracts coverage in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201705#M8279</link>
    <description>&lt;P&gt;From earlier comments I saw you used this:&lt;BR /&gt;"&lt;SPAN&gt;mgmt_cli run-script script "&lt;STRONG&gt;show&lt;/STRONG&gt; version" --context gaia_api"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we translate error field output from base64 we get: "&lt;STRONG&gt;show&lt;/STRONG&gt;: command not found"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you fixed the syntax, please send new syntax + response and I'll try to figure out further.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 13:59:59 GMT</pubDate>
    <dc:creator>Amir_Senn</dc:creator>
    <dc:date>2023-12-28T13:59:59Z</dc:date>
    <item>
      <title>gaia api run-script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198792#M8199</link>
      <description>&lt;P&gt;api command show-licenses shows you the licenses, but is there any way to get the contract coverage via the api?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 16:11:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198792#M8199</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-27T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198793#M8200</link>
      <description>&lt;P&gt;I dont know how that command worked for you. I tried in on 3 different mgmt servers, all R81.20 jumbo 38 and no luck.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:00:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198793#M8200</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-11-23T17:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198796#M8201</link>
      <description>&lt;P&gt;yeah, this works for me&amp;nbsp;"https://$fwhost/gaia_api/v1.6/show-licenses" but I only get the licenses.&lt;BR /&gt;&lt;BR /&gt;I would like to get the "contracts" information that you get when you run "cplic print"&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:23:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198796#M8201</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-11-23T17:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198797#M8202</link>
      <description>&lt;P&gt;Would you mind sharing exact command you ran? I tried mgmt_cli show-licenses and its not working&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:25:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198797#M8202</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-11-23T17:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198798#M8203</link>
      <description>&lt;P&gt;I am not using mgmt_cli, it is just a http request&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://host/gaia_api/v1.6/show-licenses&amp;gt;" target="_blank"&gt;https://host/gaia_api/v1.6/show-licenses&amp;gt;&lt;/A&gt;&lt;BR /&gt;My original question: Is it possible to get the contract information via api request?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 18:27:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198798#M8203</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-11-23T18:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198916#M8204</link>
      <description>&lt;P&gt;It doesn't bring it as part of the answer at the moment but I found a work around to succeed in getting the contract.&lt;/P&gt;
&lt;P&gt;Instead of using "show-licenses" I use "run-script" and the script I'm running is "cplic print".&lt;/P&gt;
&lt;P&gt;The answer is only task-id but then you can run "&lt;SPAN&gt;show-task" and you will get the whole output of cplic print command in base64.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After quick decode you will have licenses + contract.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Nov 2023 10:22:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/198916#M8204</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-11-26T10:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201620#M8265</link>
      <description>&lt;P&gt;Do I need anything special in terms of authorization to run-scripts?&lt;BR /&gt;I don't have any issue to run query commands through the api via web or mgmt_cli with a monitor user.&lt;BR /&gt;&lt;BR /&gt;However I get this error when I try to run-script and then try to see the task-details output even if I configure the user as adminRole.&lt;BR /&gt;No issue If I try with the admin user&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;mgmt_cli run-script script "show version" --context gaia_api&lt;BR /&gt;Username: userapi&lt;BR /&gt;Password: &lt;BR /&gt;code: generic_err_no_permissions&lt;BR /&gt;errors: User doesn't have permission to perform this action&lt;BR /&gt;message: No Permission&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;add rba user userapi roles adminRole&lt;BR /&gt;mgmt_cli run-script script "show version" --context gaia_api&lt;BR /&gt;Username: userapi&lt;BR /&gt;Password: &lt;BR /&gt;task-id: 83f4a31d-94a0-4bd2-a83f-bbfb7f7985bc&lt;/P&gt;
&lt;P&gt;mgmt_cli show task task-id "83f4a31d-94a0-4bd2-a83f-bbfb7f7985bc" --context gaia_api&lt;BR /&gt;Username: userapi&lt;BR /&gt;Password: &lt;BR /&gt;tasks:&lt;BR /&gt;- execution-time: '0.02'&lt;BR /&gt;last-update-time: 2023-12-27T16:03+0.00.0&lt;BR /&gt;progress-description: succeeded&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;start-time: 2023-12-27T16:03+0.00.0&lt;BR /&gt;status: succeeded&lt;BR /&gt;status-code: 200&lt;BR /&gt;task-details:&lt;BR /&gt;- error: L2Jpbi9zaDogL3Jlc3RfYXBpLy9ydW5TY3JpcHRUZW1wLnNoLTgzZjRhMzFkLTk0YTAtNGJkMi1hODNmLWJiZmI3Zjc5ODViYzogUGVybWlzc2lvbiBkZW5pZWQ=&lt;BR /&gt;output: ''&lt;BR /&gt;return-value: 126&lt;BR /&gt;task-id: 83f4a31d-94a0-4bd2-a83f-bbfb7f7985bc&lt;BR /&gt;task-name: /run-script&lt;BR /&gt;time-spent-in-queue: '0.26'&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 09:30:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201620#M8265</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201621#M8266</link>
      <description>&lt;P&gt;This is Gaia API my friend, not MGMT API.&lt;/P&gt;
&lt;P&gt;Try use the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#web/run-script~v1.7%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#web/run-script~v1.7%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#web/show-task~v1.7%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/GaiaAPIs/index.html#web/show-task~v1.7%20&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 16:43:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201621#M8266</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-12-27T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201628#M8268</link>
      <description>&lt;P&gt;To use run-script, you have to have full admin rights.&lt;BR /&gt;I believe this applies to both the Management and Gaia API.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 19:03:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201628#M8268</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-12-27T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201678#M8270</link>
      <description>&lt;P&gt;I had only tried with&amp;nbsp; gaia api v1.6 and v1.7 and I got the error I reported&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 09:29:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201678#M8270</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T09:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201679#M8271</link>
      <description>&lt;P&gt;I got the error with gaia api and full admin rigthts&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add rba user userapi roles adminRole&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 09:30:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201679#M8271</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T09:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201681#M8272</link>
      <description>&lt;P&gt;a. Please make sure you ran&amp;nbsp;gaia_api access --user &amp;lt;admin&amp;gt;--enable true&lt;/P&gt;
&lt;P&gt;b. I noticed this works only when the UID of the user is 0, and not&amp;nbsp;between 103 and 65533.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 10:09:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201681#M8272</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-12-28T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201683#M8273</link>
      <description>&lt;P&gt;Thanks Amir,&lt;BR /&gt;a. yeah, It was already configured, I have never had any issue with readonly type of api queries&lt;BR /&gt;b.&amp;nbsp; I have set uid to 0 and now I get a different error&lt;BR /&gt;&lt;BR /&gt;[Expert@dc1fwo2a:0]# mgmt_cli show task task-id "c50b12b9-db35-4f2e-80ad-6223b4b2e237" --context gaia_api&lt;BR /&gt;Username: userapi&lt;BR /&gt;Password: &lt;BR /&gt;tasks:&lt;BR /&gt;- execution-time: '0.03'&lt;BR /&gt;last-update-time: 2023-12-28T10:26+0.00.0&lt;BR /&gt;progress-description: succeeded&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;start-time: 2023-12-28T10:26+0.00.0&lt;BR /&gt;status: succeeded&lt;BR /&gt;status-code: 200&lt;BR /&gt;task-details:&lt;BR /&gt;- error: c2hvdzogY29tbWFuZCBub3QgZm91bmQ=&lt;BR /&gt;output: ''&lt;BR /&gt;return-value: 127&lt;BR /&gt;task-id: c50b12b9-db35-4f2e-80ad-6223b4b2e237&lt;BR /&gt;task-name: /run-script&lt;BR /&gt;time-spent-in-queue: '0.21'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 10:28:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201683#M8273</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201686#M8274</link>
      <description>&lt;P&gt;Use this syntax:&lt;/P&gt;
&lt;P&gt;mgmt_cli run-script script "cplic print" --context gaia_api&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 11:50:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201686#M8274</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-12-28T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201693#M8275</link>
      <description>&lt;P&gt;Hey Amir,&lt;/P&gt;
&lt;P&gt;I just tested that command in my mgmt R81.20 jumbo 41 lab and got below, not sure if that looks right?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Expert@CP-management:0]# mgmt_cli run-script script "cplic print" --context gaia_api&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;BR /&gt;task-id: 8d6634bc-86b4-48d1-90cc-2cc5f0f8bc06&lt;/P&gt;
&lt;P&gt;[Expert@CP-management:0]#&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:23:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201693#M8275</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-12-28T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201694#M8276</link>
      <description>&lt;P&gt;Never mind, appears its good based on the task ID&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Expert@CP-management:0]# mgmt_cli run-script script "cplic print" --context gaia_api&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;BR /&gt;task-id: 8d6634bc-86b4-48d1-90cc-2cc5f0f8bc06&lt;/P&gt;
&lt;P&gt;[Expert@CP-management:0]# ^C&lt;BR /&gt;[Expert@CP-management:0]# mgmt_cli show task task-id "8d6634bc-86b4-48d1-90cc-2cc5f0f8bc06" --context gaia_api&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;BR /&gt;tasks:&lt;BR /&gt;- execution-time: '0.21'&lt;BR /&gt;last-update-time: 2023-12-28T08:22+19.00.0&lt;BR /&gt;progress-description: succeeded&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;start-time: 2023-12-28T08:22+19.00.0&lt;BR /&gt;status: succeeded&lt;BR /&gt;status-code: 200&lt;BR /&gt;task-details:&lt;BR /&gt;- error: ''&lt;BR /&gt;output: SG9zdCAgICAgICAgICAgICBFeHBpcmF0aW9uICBGZWF0dXJlcyAgICAgICAgICAgIAoxNzIuMTYuMTAuMjUyICAgIDEwSmFuMjAyNCAgIENQU00tQy1VIENQU0ItTlBNIENQU0ItRVBNIENQU0ItTE9HUyBDUFNCLU1OVFIgQ1BTQi1QUlZTIENQU0ItVURJUiBDUFNCLVdLRkwtMTAwIENQU0ItV1MgQ1BTQi1NUFRMIENQVlAtU05YLVUtTkdYIENQU0ItU1dCIENQU0ItQUROQy1NIENQU0ItUlBSVC1VIENQU0ItRVZDUi1VIENQU0ItU1NMVlBOLU1PQk1BSUwrNTAwMCBDUFNCLUNPTVAtMTUwIENLLUZGQjI0NzE2REZCOAoKQ29udHJhY3QgQ292ZXJhZ2U6CgogIyAgIElEICAgICAgICAgIEV4cGlyYXRpb24gICBTS1UgICAgICAgICAgICAgICAgIAo9PT0rPT09PT09PT09PT0rPT09PT09PT09PT09Kz09PT09PT09PT09PT09PT09PT09CjEgIHwgWVUzWTNPSCAgIHwgIDlGZWIyMDI0ICB8IENQU0ItWlAtRVZBTAogICArLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tCiAgIHxDb3ZlcnM6ICAgICBDUFNNLUMtVSBDUFNCLU5QTSBDUFNCLUVQTSBDUFNCLUxPR1MgQ1BTQi1NTlRSIENQU0ItUFJWUyBDUFNCLVVESVIgQ1BTQi1XS0ZMLTEwMCBDUFNCLVdTIENQU0ItTVBUTCBDUFZQLVNOWC1VLU5HWCBDUFNCLVNXQiBDUFNCLUFETkMtTSBDUFNCLVJQUlQtVSBDUFNCLUVWQ1ItVSBDUFN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id: 8d6634bc-86b4-48d1-90cc-2cc5f0f8bc06&lt;BR /&gt;task-name: /run-script&lt;BR /&gt;time-spent-in-queue: '0.26'&lt;/P&gt;
&lt;P&gt;[Expert@CP-management:0]#&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:26:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201694#M8276</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-12-28T13:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201695#M8277</link>
      <description>&lt;P&gt;That is the syntax I use and that is how I get the error I reported&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:32:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201695#M8277</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201696#M8278</link>
      <description>&lt;P&gt;Sure, no problem with the admin user&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:32:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201696#M8278</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201705#M8279</link>
      <description>&lt;P&gt;From earlier comments I saw you used this:&lt;BR /&gt;"&lt;SPAN&gt;mgmt_cli run-script script "&lt;STRONG&gt;show&lt;/STRONG&gt; version" --context gaia_api"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we translate error field output from base64 we get: "&lt;STRONG&gt;show&lt;/STRONG&gt;: command not found"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you fixed the syntax, please send new syntax + response and I'll try to figure out further.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:59:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201705#M8279</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-12-28T13:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: contracts coverage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201709#M8280</link>
      <description>&lt;P&gt;Ah, okay. Yeah, you are right. So if the uid = 0, it works.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;So in the end this user has a User ID of 0, and therefore has all of the privileges of a root user.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;It would be nice if the output of "cplic print" was in the api directly and therefore we didn't need to run a query with full admin rights.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 14:15:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/gaia-api-run-script/m-p/201709#M8280</guid>
      <dc:creator>Luis_Miguel_Mig</dc:creator>
      <dc:date>2023-12-28T14:15:01Z</dc:date>
    </item>
  </channel>
</rss>

