<?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 How to enable accounting using API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211032#M8470</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We have over 1500+ rules on our Management servers on which Accounting is not enabled.&lt;/P&gt;&lt;P&gt;We are now requested to enable Accounting on all this rules(ACL) by our Management. Can you please let us know, if accounting can be enabled using API's on all the policy's.&lt;/P&gt;&lt;P&gt;If this is possible, can you please provide us the valid document to perform the same.&lt;/P&gt;&lt;P&gt;Version: R81.10&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 11:13:36 GMT</pubDate>
    <dc:creator>Bachan</dc:creator>
    <dc:date>2024-04-11T11:13:36Z</dc:date>
    <item>
      <title>How to enable accounting using API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211032#M8470</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We have over 1500+ rules on our Management servers on which Accounting is not enabled.&lt;/P&gt;&lt;P&gt;We are now requested to enable Accounting on all this rules(ACL) by our Management. Can you please let us know, if accounting can be enabled using API's on all the policy's.&lt;/P&gt;&lt;P&gt;If this is possible, can you please provide us the valid document to perform the same.&lt;/P&gt;&lt;P&gt;Version: R81.10&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 11:13:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211032#M8470</guid>
      <dc:creator>Bachan</dc:creator>
      <dc:date>2024-04-11T11:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable accounting using API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211099#M8471</link>
      <description>&lt;P&gt;You will have to write code that parses the policy layers and updates the individual rules via API calls.&lt;BR /&gt;There is nothing pre-built that does this.&lt;/P&gt;
&lt;P&gt;However, I don't believe this is entirely necessary.&lt;BR /&gt;You might be able to just create an ordered layer AFTER your existing one(s) that is a simple "any any accept" with track set to accounting.&lt;BR /&gt;The only way traffic will reach this layer is if it matches an Accept rule in the previous layer(s).&lt;BR /&gt;This will cause ALL traffic that reaches this rule to log Accounting, which will effectuate the same result (all accept logs include Accounting data).&lt;BR /&gt;This will only work with R8x gateways (R77.x and earlier do not support policy layers).&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 23:32:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211099#M8471</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-04-11T23:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable accounting using API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211104#M8472</link>
      <description>&lt;P&gt;I second what PhoneBoy mentioned.&lt;/P&gt;
&lt;P&gt;If this is supposed to be one-time action, then why wasting time to write a script / wait for replies in community? Just reserve some spare time (overtime) and do that monkey job manually. You would have been already done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 05:51:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-enable-accounting-using-API/m-p/211104#M8472</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2024-04-12T05:51:27Z</dc:date>
    </item>
  </channel>
</rss>

