<?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: SmartCenter can't show domain object with full details in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217665#M8554</link>
    <description>&lt;P&gt;I tested on 2 lab mgmt servers in the lab, one R81.10 and R81.20 jumbo 65, exact same result.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2024 17:14:00 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2024-06-16T17:14:00Z</dc:date>
    <item>
      <title>SmartCenter can't show domain object with full details</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/216962#M8534</link>
      <description>&lt;P&gt;I'm working on some code to interact with domains on multi-domain systems. Increasingly, it looks like a SmartCenter is actually a multi-domain system with weird names (or maybe on an MDS, the empty domain name and the name "MDS" are aliases for "System Data"?) constrained to only a single domain named "SMC User". I can show this domain with 'show domains' and with 'show object', but 'show object ... details-level full' and 'show domain' both fail:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@DallasSA]# mgmt_cli -f json -r true -d "System Data" show domains
{
  "objects" : [ {
    "uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
    "name" : "SMC User",
    "type" : "domain",
    "domain" : {
      "uid" : "a0eebc99-afed-4ef8-bb6d-fedfedfedfed",
      "name" : "System Data",
      "domain-type" : "mds"
    },
    "icon" : "Objects/domain",
    "color" : "black"
  } ],
  "from" : 1,
  "to" : 1,
  "total" : 1
}

[Expert@DallasSA]# smcUserUuid=$(!! | jq '.objects[]|.uid')
smcUserUuid=$(mgmt_cli -f json -r true -d "System Data" show domains | jq '.objects[]|.uid')

[Expert@DallasSA]# mgmt_cli -f json -r true -d "System Data" show object uid "${smcUserUuid}"
{
  "object" : {
    "uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
    "name" : "SMC User",
    "type" : "domain",
    "domain" : {
      "uid" : "a0eebc99-afed-4ef8-bb6d-fedfedfedfed",
      "name" : "System Data",
      "domain-type" : "mds"
    },
    "icon" : "Objects/domain",
    "color" : "black"
  }
}

[Expert@DallasSA]# !! details-level full
mgmt_cli -f json -r true -d "System Data" show object uid "${smcUserUuid}" details-level full
{
  "code" : "generic_err_object_not_found",
  "message" : "Requested object [41e821a0-3720-11e3-aa6e-0800200c9fde] not found"
}

[Expert@DallasSA]# mgmt_cli -f json -r true -d "System Data" show domain uid "${smcUserUuid}"
{
  "code" : "generic_err_object_not_found",
  "message" : "Requested object [41e821a0-3720-11e3-aa6e-0800200c9fde] not found"
}&lt;/LI-CODE&gt;
&lt;P&gt;This indicates to me some kind of internal inconsistency.&lt;/P&gt;
&lt;P&gt;Incidentally, every SmartCenter seems to have the same UUID for the "SMC User" domain. I've checked R81.10 jumbo 150, R81.20 jumbo 65, and a few on lower jumbos. So far, I've found these UUIDs to be consistent:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;8bf4ac51-2df7-40e1-9bce-bedbedbedbed - APPI Data         type: CPDataDomain or data domain
a0bbbc99-adef-4ef8-bb6d-defdefdefdef - Check Point Data  type: CPDataDomain or data domain
a0bbbc99-adef-4ef8-bb6d-cebcebcebceb - IPS Data          type: CPDataDomain or data domain
41e821a0-3720-11e3-aa6e-0800200c9fde - SMC User          type: domain
a0eebc99-afed-4ef8-bb6d-fedfedfedfed - System Data       type: SystemDomain or mds&lt;/LI-CODE&gt;
&lt;P&gt;All except SMC User are present on both SmartCenters and MDSs. The type of most of the included domains depends on how you look at them. The first three show up in 'show object' as CPDataDomain, and in the domain field of other objects as "data domain". For "System Data", in 'show object', it's SystemDomain, and in the domain field of other objects, it's "mds". It looks like 'show object ... details-level full' works on all of the domains except "SMC User". 'show domain' doesn't work on any of them, even though they can appear in the 'domain' field of other objects.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 22:44:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/216962#M8534</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-06-09T22:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: SmartCenter can't show domain object with full details</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217029#M8535</link>
      <description>&lt;P&gt;Is this expected behavior&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 15:24:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217029#M8535</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-06-10T15:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: SmartCenter can't show domain object with full details</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217657#M8550</link>
      <description>&lt;P&gt;This is&amp;nbsp;&lt;SPAN&gt;expected behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The command "show-domain" is&amp;nbsp;intended for user created domains.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 12:49:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217657#M8550</guid>
      <dc:creator>Omer_Kleinstern</dc:creator>
      <dc:date>2024-06-16T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: SmartCenter can't show domain object with full details</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217661#M8552</link>
      <description>&lt;P&gt;It seems like if 'show domains' returns an object, 'show domain' should accept that object. Also seems like this shouldn't happen:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@DallasSA]# mgmt_cli -f json -r true -d "System Data" show domains    
{
  "objects" : [ {
    "uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
    "name" : "SMC User",
    "type" : "domain",
    "domain" : {
      "uid" : "a0eebc99-afed-4ef8-bb6d-fedfedfedfed",
      "name" : "System Data",
      "domain-type" : "mds"
    },
    "icon" : "Objects/domain",
    "color" : "black"
  } ],
  "from" : 1,
  "to" : 1,
  "total" : 1
}

[Expert@DallasSA]# !! details-level full
mgmt_cli -f json -r true -d "System Data" show domains details-level full
{
  "code" : "generic_error",
  "message" : "Null Pointer exception: null"
}&lt;/LI-CODE&gt;
&lt;P&gt;Similarly, it seems like if 'show object uid ...' shows an object, 'show object uid ... details-level full' should show at least the same amount of information about it instead of claiming it can't find the object which it &lt;EM&gt;just&lt;/EM&gt; showed to me.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 15:59:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217661#M8552</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-06-16T15:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: SmartCenter can't show domain object with full details</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217665#M8554</link>
      <description>&lt;P&gt;I tested on 2 lab mgmt servers in the lab, one R81.10 and R81.20 jumbo 65, exact same result.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 17:14:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/SmartCenter-can-t-show-domain-object-with-full-details/m-p/217665#M8554</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-06-16T17:14:00Z</dc:date>
    </item>
  </channel>
</rss>

