<?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: API calls going to mds instead of cma in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/180993#M7701</link>
    <description>&lt;P&gt;What does your login call look like for these sessions?&lt;BR /&gt;Is the "domain" parameter specified with each and every login call made?&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 21:49:39 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-05-15T21:49:39Z</dc:date>
    <item>
      <title>API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/180865#M7698</link>
      <description>&lt;P&gt;in my setup, there is one MDS and serveral CMAs. i am passing a few API queries to one of the CMAs via CMA IP.&lt;/P&gt;&lt;P&gt;API for login or logout are working fine, but others like publish, add-host etc are going to MDS instead of CMA. Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 08:04:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/180865#M7698</guid>
      <dc:creator>mahendra</dc:creator>
      <dc:date>2023-05-15T08:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/180993#M7701</link>
      <description>&lt;P&gt;What does your login call look like for these sessions?&lt;BR /&gt;Is the "domain" parameter specified with each and every login call made?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 21:49:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/180993#M7701</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-05-15T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181027#M7702</link>
      <description>&lt;P&gt;tried that too.&lt;/P&gt;&lt;P&gt;when i tried to login to CMA while supplying&amp;nbsp;&lt;SPAN&gt;"domain" parameter, response was :&amp;nbsp;{'code': 'err_login_failed', 'message': 'Authentication to server failed.'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when i tried to login to MDS while supplying&amp;nbsp;"domain" parameter, response was :&amp;nbsp;{'code': 'generic_server_error', 'message': 'Management server failed to execute command'}&lt;BR /&gt;&lt;BR /&gt;Log generated in smartview :&amp;nbsp;Administrator failed to log in: SIC Error for cpmi: Server could not find authentication method, method returned deny for service cpmi.&lt;BR /&gt;&lt;BR /&gt;Without supplying domain parameter, i was getting logged in to MDS, irrespective of the server IP (MDS or CMA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you provide some guide... tried both python SDK and direct API calls.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 04:00:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181027#M7702</guid>
      <dc:creator>mahendra</dc:creator>
      <dc:date>2023-05-16T04:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181163#M7703</link>
      <description>&lt;P&gt;You need to explain the precise flow you are following.&lt;BR /&gt;For the login call:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;What IP are you connecting to? Is it a CMA, MDS?&lt;/LI&gt;
&lt;LI&gt;What is the exact call you're making? You can obscure the credentials and such, but showing the exact call would help.&lt;/LI&gt;
&lt;LI&gt;Have you verified the user's credentials you are using are valid in the context they are issued? For example, if you're connecting to the CMA IP, the credentials need to be valid in the context of the CMA. Further, the user in question must have API access enabled, which is done in the relevant admin profile.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you want to connect to a CMA using a global admin (instead of a CMA admin), I believe you need to connect to the MDS IP and specify the domain name in the API call.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;can you confirm?&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 22:09:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181163#M7703</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-05-16T22:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181194#M7704</link>
      <description>&lt;P&gt;ok. i Got it.&lt;/P&gt;&lt;P&gt;I am multidomain superuser.&lt;/P&gt;&lt;P&gt;I tested everything and found out.&lt;/P&gt;&lt;P&gt;We can supply server address of either CMA or MDS to login.&lt;/P&gt;&lt;P&gt;and also need to supply domain name of CMA to be able to connect/query the CMA.&lt;/P&gt;&lt;P&gt;I will appreciate if you can provide me with latest API documentation.&lt;/P&gt;&lt;P&gt;I want to automate tasks like backup of config, rules, etc and adding/deleting/modifying rules, hosts, optization of rules as per number of hits (sorting)&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 05:09:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181194#M7704</guid>
      <dc:creator>mahendra</dc:creator>
      <dc:date>2023-05-17T05:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: API calls going to mds instead of cma</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181241#M7706</link>
      <description>&lt;P&gt;All of our API documentation is here:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/api_reference/index.html" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/api_reference/index.html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;This is for all of our products.&lt;BR /&gt;The Management API in particular:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.9%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.9%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:54:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-calls-going-to-mds-instead-of-cma/m-p/181241#M7706</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-05-17T13:54:43Z</dc:date>
    </item>
  </channel>
</rss>

