<?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 Management API Identity Collector Settings in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Management-API-Identity-Collector-Settings/m-p/188180#M7903</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When configuring identity collector settings via the management API using mgmt_api, the following command is returning an error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using&amp;nbsp;Management APIv1.9&lt;/P&gt;
&lt;P&gt;The following example command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mgmt_cli -r true add simple-gateway name 'demo-gw' identity-awareness true identity-awareness-settings.identity-collector true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.external-user-profile true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.internal-users true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.users-from-external-directories specific identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.specific 'azure_ad_test' identity-awareness-settings.identity-collector-settings.authorized-clients.add.client 'id_collector' identity-awareness-settings.identity-collector-settings.authorized-clients.add.client-secret '123456789101112' identity-awareness-settings.identity-collector-settings.client-access-permissions.accessibility.allow-access-from internal_interfaces&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [authorized-clients]. Invalid value"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you identity a problem with this command?&lt;/P&gt;
&lt;P&gt;The error indicates a syntax problem with the&amp;nbsp;&lt;SPAN&gt;authorized-clients parameter, however the parameter chain matches what it specified in the API documentation i.e.&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.add.client,&amp;nbsp;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.add.client-secret.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I noticed in the documentation there are also the following parameters;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.client,&amp;nbsp;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.client-secret. What are these commands used for? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When I try to use these instead of the add.client and add.client-secret parameter, the following error is returned relating to missing IP address. However, the expected value for the client parameter is a string -&amp;nbsp;Host / Network Group Name or UID.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;code: "generic_err_missing_required_parameters"&lt;BR /&gt;message: "Missing parameter: [ip-address/ipv4-address/ipv6-address]"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Simon&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 23:56:55 GMT</pubDate>
    <dc:creator>Simon_Macpherso</dc:creator>
    <dc:date>2023-07-31T23:56:55Z</dc:date>
    <item>
      <title>Management API Identity Collector Settings</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Management-API-Identity-Collector-Settings/m-p/188180#M7903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When configuring identity collector settings via the management API using mgmt_api, the following command is returning an error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using&amp;nbsp;Management APIv1.9&lt;/P&gt;
&lt;P&gt;The following example command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;mgmt_cli -r true add simple-gateway name 'demo-gw' identity-awareness true identity-awareness-settings.identity-collector true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.external-user-profile true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.internal-users true identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.users-from-external-directories specific identity-awareness-settings.identity-collector-settings.authentication-settings.users-directories.specific 'azure_ad_test' identity-awareness-settings.identity-collector-settings.authorized-clients.add.client 'id_collector' identity-awareness-settings.identity-collector-settings.authorized-clients.add.client-secret '123456789101112' identity-awareness-settings.identity-collector-settings.client-access-permissions.accessibility.allow-access-from internal_interfaces&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [authorized-clients]. Invalid value"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you identity a problem with this command?&lt;/P&gt;
&lt;P&gt;The error indicates a syntax problem with the&amp;nbsp;&lt;SPAN&gt;authorized-clients parameter, however the parameter chain matches what it specified in the API documentation i.e.&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.add.client,&amp;nbsp;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.add.client-secret.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I noticed in the documentation there are also the following parameters;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.client,&amp;nbsp;&amp;nbsp;identity-awareness-settings.identity-collector-settings.authorized-clients.client-secret. What are these commands used for? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When I try to use these instead of the add.client and add.client-secret parameter, the following error is returned relating to missing IP address. However, the expected value for the client parameter is a string -&amp;nbsp;Host / Network Group Name or UID.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;code: "generic_err_missing_required_parameters"&lt;BR /&gt;message: "Missing parameter: [ip-address/ipv4-address/ipv6-address]"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Simon&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 23:56:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Management-API-Identity-Collector-Settings/m-p/188180#M7903</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2023-07-31T23:56:55Z</dc:date>
    </item>
  </channel>
</rss>

