<?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: Problems with the API when obtaining audit logs in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218590#M8574</link>
    <description>&lt;P&gt;this is a problem that we have encountered recently.&lt;/P&gt;
&lt;P&gt;the management api show-logs will sometimes have problems with multivalued fields&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/46032"&gt;@mahmods&lt;/a&gt;&amp;nbsp;has led the solution to this problem&amp;nbsp;&lt;BR /&gt;I will let him add the details on when the solution will arrive in the field&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 08:19:36 GMT</pubDate>
    <dc:creator>Nitzan_Massad</dc:creator>
    <dc:date>2024-06-25T08:19:36Z</dc:date>
    <item>
      <title>Problems with the API when obtaining audit logs</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/217792#M8557</link>
      <description>&lt;P&gt;I have a problem with the Check Point API that for some reason does not show me all the information that is in logic change, specifically when a rule is created in the Firewall in the SmartConsole application it shows me that I created the rule and I see that it was configured in the new rule as Source Address, Destination, VPN, ActionSettings.action.&lt;BR /&gt;This is what appears in SmartConsole&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Logic Changes:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smartconsole.PNG" style="width: 784px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/26307i32DEBF25D3A37DBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="smartconsole.PNG" alt="smartconsole.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="api.PNG" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/26308i066BD5EDAC78E9E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="api.PNG" alt="api.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And This is what I get with the CheckPoint API to see the logs&lt;BR /&gt;{&lt;BR /&gt;"session_name": "micasita@17/6/2024",&lt;BR /&gt;"subject": "Object Manipulation",&lt;BR /&gt;"session_uid": "bd5711c1-fb22-4dec-84ee-1aee2d7076ac",&lt;BR /&gt;"sendtotrackerasadvancedauditlog": "0",&lt;BR /&gt;"type": "Audit",&lt;BR /&gt;"orig_log_server_attr": [&lt;BR /&gt;{&lt;BR /&gt;"isCHKPObject": "true",&lt;BR /&gt;"uuid": "58888ca8-4ac6-0f4a-9a6b-90aa1e32969c",&lt;BR /&gt;"resolved": "BI-DC"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"uid": "1c5a3310-a212-49d9-9393-93a44a634089",&lt;BR /&gt;"administrator": "micasita",&lt;BR /&gt;"client_ip": "192.168.1.1",&lt;BR /&gt;"id": "0a01641e-6f9c-670e-6670-484e00130001",&lt;BR /&gt;"objecttype": "Access Control Rule",&lt;BR /&gt;"fieldschanges": [&lt;BR /&gt;"Policy Names: 'Policies_BI'",&lt;BR /&gt;"Layer Name: 'Network'"&lt;BR /&gt;],&lt;BR /&gt;"logic_changes": [&lt;BR /&gt;"TrackSettings.useLogPerConnection: Changed from 'Disable' to 'Enable'",&lt;BR /&gt;"TrackSettings.track: Changed from '29e53e3d-23bf-48fe-b6b1-d59bd88036f9' to '598ead32-aa42-4615-90ed-f51a5928d41d'"&lt;BR /&gt;],&lt;BR /&gt;"severity": "Informational",&lt;BR /&gt;"product_family": "Network",&lt;BR /&gt;"product": "SmartConsole",&lt;BR /&gt;"sequencenum": "2",&lt;BR /&gt;"objectname": "CONFIGURATION",&lt;BR /&gt;"operation": "Create Rule"&lt;BR /&gt;}&lt;BR /&gt;As you can see in logic_changes in JSON format not all changes are shown, it only shows me two and the rest are not sent through the API for some reason.&lt;BR /&gt;Can anyone tell me why this happens and how I can get all the complete audit logs through the API?&lt;BR /&gt;Thank you and have a nice day.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 20:12:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/217792#M8557</guid>
      <dc:creator>BAZUERO</dc:creator>
      <dc:date>2024-06-17T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the API when obtaining audit logs</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218306#M8570</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;?&lt;BR /&gt;I also suggest a TAC case: &lt;A href="https://help.checkpoint.com" target="_blank"&gt;https://help.checkpoint.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 22:00:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218306#M8570</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-06-20T22:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the API when obtaining audit logs</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218397#M8571</link>
      <description>&lt;P&gt;Paging&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/8292"&gt;@Nitzan_Massad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 06:30:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218397#M8571</guid>
      <dc:creator>Omer_Kleinstern</dc:creator>
      <dc:date>2024-06-23T06:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the API when obtaining audit logs</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218447#M8572</link>
      <description>&lt;P&gt;+1, same problem&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 08:15:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218447#M8572</guid>
      <dc:creator>Undel</dc:creator>
      <dc:date>2024-06-24T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the API when obtaining audit logs</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218590#M8574</link>
      <description>&lt;P&gt;this is a problem that we have encountered recently.&lt;/P&gt;
&lt;P&gt;the management api show-logs will sometimes have problems with multivalued fields&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/46032"&gt;@mahmods&lt;/a&gt;&amp;nbsp;has led the solution to this problem&amp;nbsp;&lt;BR /&gt;I will let him add the details on when the solution will arrive in the field&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 08:19:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Problems-with-the-API-when-obtaining-audit-logs/m-p/218590#M8574</guid>
      <dc:creator>Nitzan_Massad</dc:creator>
      <dc:date>2024-06-25T08:19:36Z</dc:date>
    </item>
  </channel>
</rss>

