<?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: mass change 'track' or 'install on' field in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208509#M8390</link>
    <description>&lt;P&gt;This doesn't apply for R8x releases.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 15:01:11 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2024-03-12T15:01:11Z</dc:date>
    <item>
      <title>mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208359#M8384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;need some tips regarding best practice in terms of mass change. Hundreds of access rules.&lt;/P&gt;
&lt;P&gt;Goal: e.g.&lt;/P&gt;
&lt;P&gt;change on Policy2 inside the MDS domain2 all rules. Set all rules to track none or set all rules to install on firewall2 ... or something like that.&lt;/P&gt;
&lt;P&gt;My first guess was to use the show access-rulebase command and then set access-rule command.&lt;/P&gt;
&lt;P&gt;However, I could not find out how to address only the Policy number '2' in the Domain '2'&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;mgmt_cli show access-rulebase offset 0 limit 1000 name "Network" details-level "standard" use-object-dictionary true -s id.txt&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;mgmt_cli set access-rule name "Rule 1" track "None"&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If possible, I would like to avoid to rewrite the complete rule. It should simply replace 'log' with 'None'&lt;/P&gt;
&lt;P&gt;Or is the approach wrong?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 17:00:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208359#M8384</guid>
      <dc:creator>S_E_</dc:creator>
      <dc:date>2024-03-11T17:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208373#M8385</link>
      <description>&lt;P&gt;This is the SK for this question:&amp;nbsp;&lt;/P&gt;
&lt;H1 class="css-245gzq"&gt;How to change all Track fields in the policy to Log/None/Alert/&lt;/H1&gt;
&lt;DIV class="css-1pjmcu1"&gt;
&lt;DIV class="css-k2lji5"&gt;&lt;SPAN class="css-1yhp4uw"&gt;Product&lt;/SPAN&gt;&lt;SPAN class="css-1tluag8"&gt;Quantum Security Management&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="css-k2lji5"&gt;&lt;SPAN class="css-1yhp4uw"&gt;Version&lt;/SPAN&gt;&lt;SPAN class="css-1tluag8"&gt;All&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="css-k2lji5"&gt;&lt;SPAN class="css-1yhp4uw"&gt;OS&lt;/SPAN&gt;&lt;SPAN class="css-1tluag8"&gt;Gaia&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="css-k2lji5"&gt;&lt;SPAN class="css-1yhp4uw"&gt;Last Modified&lt;/SPAN&gt;&lt;SPAN class="css-1tluag8"&gt;2016-02-09&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="solution"&gt;
&lt;H2 class="css-3eqwxe"&gt;Solution&lt;/H2&gt;
&lt;DIV&gt;
&lt;P&gt;To change the Track fields of every rule in large policy (from "Account" to "Log" for example), perform:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run the&amp;nbsp;&lt;EM&gt;cpstop&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;command on the Security Management server.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sed -i 's/(current value)/(new value)/g' $FWDIR/conf/rulebases_5_0.fws&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;The below command&amp;nbsp;will change all rules that log as 'Account' to "Log":&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;sed -i 's/(Account)/(Log)/g' $FWDIR/conf/rulebases_5_0.fws&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;If you want to change them to another value, use another available flags:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Alert, Log, None, Mail, SnmpTrap.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;rm $FWDIR/conf/CPMIL*&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run the&amp;nbsp;&lt;EM&gt;cpstart&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:07:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208373#M8385</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2024-03-11T18:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208387#M8386</link>
      <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;Interesting. Thanks a lot&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="css-vy7rm"&gt;sk109766 last modified in&amp;nbsp; 2016.&amp;nbsp;&lt;SPAN&gt;sk108538 in 2015&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="css-vy7rm"&gt; Means more or less R77.30&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="css-vy7rm"&gt;But I will try in our lab.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="css-vy7rm"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="css-vy7rm"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:32:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208387#M8386</guid>
      <dc:creator>S_E_</dc:creator>
      <dc:date>2024-03-11T18:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208393#M8387</link>
      <description>&lt;P&gt;You can get your policy packages using the 'show-packages details-level full' call. Within the package, you need the key 'access-layers', which contains a list of objects. Each access layer object has a UUID in the 'uid' key. With that, you can use the 'show-access-rulebase uid &amp;lt;layer UUID&amp;gt;' call to get the rules in that layer. 'limit' only goes up to 500.&lt;/P&gt;
&lt;P&gt;You would filter the list for the rules for ones with the property you care about, then use the 'set-access-rule uid &amp;lt;rule UUID&amp;gt; layer &amp;lt;layer UUID&amp;gt;' call to change the rule. That call doesn't need anything else except what you are changing. That is, if you aren't setting the rule's source, you don't need to specify the source in the API call.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:47:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208393#M8387</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-03-11T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208459#M8388</link>
      <description>&lt;P&gt;I didn't like the way the other solution edits fw files so I took a few minutes and created the following mgmt_cli bash script.&lt;/P&gt;
&lt;P&gt;You write the number of rules you want it to change and it set the rules to track with a for loop using mgmt_cli.&lt;/P&gt;
&lt;P&gt;Syntax: ./Change_Track_Log.sh &amp;lt;number_of_rules_in_DB&amp;gt;&lt;/P&gt;
&lt;P&gt;You can change the value from logs to none, or other values.&lt;/P&gt;
&lt;P&gt;This is for default layer/policy, if you want to adjust it you might need to change a few elements in the script itself.&lt;/P&gt;
&lt;P&gt;If this will have good feedback I might improve it by giving default values to fall back on but can enter policy name and layer name.&lt;/P&gt;
&lt;P&gt;Runtime example:&lt;/P&gt;
&lt;P&gt;[Expert@Amir:0]# bash -x Change_Track_Log.sh 3&lt;BR /&gt;+ mgmt_cli login -r true&lt;BR /&gt;+ (( N=1 ))&lt;BR /&gt;+ (( ((1-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer Network rule-number 1 track.type log -s id.txt&lt;BR /&gt;+ (( N=((1+1)) ))&lt;BR /&gt;+ (( ((2-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer Network rule-number 2 track.type log -s id.txt&lt;BR /&gt;+ (( N=((2+1)) ))&lt;BR /&gt;+ (( ((3-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer Network rule-number 3 track.type log -s id.txt&lt;BR /&gt;+ (( N=((3+1)) ))&lt;BR /&gt;+ (( ((4-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli publish -s id.txt&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [13:09:00] 12/3/2024&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Publish operation" succeeded (100%)&lt;BR /&gt;tasks:&lt;BR /&gt;- task-id: "01234567-89ab-cdef-acd6-454bfe5ed9bc"&lt;BR /&gt;task-name: "Publish operation"&lt;BR /&gt;status: "succeeded"&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;suppressed: false&lt;BR /&gt;task-details:&lt;BR /&gt;- publishResponse:&lt;BR /&gt;numberOfPublishedChanges: 3&lt;BR /&gt;mode: "async"&lt;BR /&gt;revision: "d4749534-3634-455e-88f2-851fd6774419"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 11:18:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208459#M8388</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-03-12T11:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208509#M8390</link>
      <description>&lt;P&gt;This doesn't apply for R8x releases.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:01:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208509#M8390</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-03-12T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208511#M8392</link>
      <description>&lt;P&gt;First of all, asking the API for 1000 rules via "limit" will probably not result in 1000 rules being returned.&lt;BR /&gt;You need to properly use the limit/offset parameters in a loop to correctly process all the rules.&lt;BR /&gt;Further, I would perform a "publish" action periodically (every ~100 changes or so) for performance reasons.&lt;/P&gt;
&lt;P&gt;A complete sample of what you tried to do (starting from the login command) would be helpful.&lt;BR /&gt;It is probably better to refer to the rule by UID instead of name since every rule is guaranteed to have one (whereas a name doesn't even have to be unique).&lt;BR /&gt;However, I believe you're on the right track using set access-rule.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:05:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208511#M8392</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-03-12T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208605#M8394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;tried multiple times on a test SmartCenter and in general, the script works as expected. Great !&lt;/P&gt;
&lt;P&gt;I tried with 100 Rules.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[Expert@SMS-R8120:0]# ./Change_Track_Log.sh 100&lt;/P&gt;
&lt;P&gt;---------------------------------------------&lt;BR /&gt;Time: [08:55:52] 13/3/2024&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Publish operation" in progress (10%)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [08:56:02] 13/3/2024&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Publish operation" succeeded (100%)&lt;BR /&gt;tasks:&lt;BR /&gt;- task-id: "01234567-89ab-cdef-9629-e463b308f098"&lt;BR /&gt;task-name: "Publish operation"&lt;BR /&gt;status: "succeeded"&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;suppressed: false&lt;BR /&gt;task-details:&lt;BR /&gt;- publishResponse:&lt;BR /&gt;numberOfPublishedChanges: 100&lt;BR /&gt;mode: "async"&lt;BR /&gt;revision: "e3d9bad4-9f63-4a17-9fe3-fcd6a0b79d9c"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not try it for 2000 rules, yet.&lt;/P&gt;
&lt;P&gt;Need to find out first how to address "Policy 3" on MDS Domain "Domain 3"&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html?#cli/set-access-rule~v1.9%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html?#cli/set-access-rule~v1.9%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The parameter "name" is obviously not the policy name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 09:14:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208605#M8394</guid>
      <dc:creator>S_E_</dc:creator>
      <dc:date>2024-03-13T09:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208641#M8395</link>
      <description>&lt;P&gt;Improved script.&lt;/P&gt;
&lt;P&gt;Syntax: ./Change_Track_Log.sh &amp;lt;number_of_rules_in_DB&amp;gt; [policy_name] [domain_name]&lt;/P&gt;
&lt;P&gt;Now an argument is mandatory but second and third arguments are optional. In order to put the third one you must put the second.&lt;/P&gt;
&lt;P&gt;If no values are provided, policy and domain name will get fallback to default values (policy - we choose layer, default is simply "Network", for domain it's "System Data").&lt;/P&gt;
&lt;P&gt;Will not work for inline layer.&lt;/P&gt;
&lt;P&gt;Runtime example:&lt;/P&gt;
&lt;P&gt;[Expert@192.168.13.35_MDS:0]# bash -x Change_Track_Log.sh 3 amirP Dom1&lt;BR /&gt;+ '[' -z 3 ']'&lt;BR /&gt;+ '[' -z amirP ']'&lt;BR /&gt;+ Layer_Name='amirP Network'&lt;BR /&gt;+ '[' -z Dom1 ']'&lt;BR /&gt;+ Domain_Name=Dom1&lt;BR /&gt;+ mgmt_cli login -r true --domain Dom1&lt;BR /&gt;+ (( N=1 ))&lt;BR /&gt;+ (( ((1-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer 'amirP Network' rule-number 1 track.type log --domain Dom1 -s id.txt&lt;BR /&gt;+ (( N=((1+1)) ))&lt;BR /&gt;+ (( ((2-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer 'amirP Network' rule-number 2 track.type log --domain Dom1 -s id.txt&lt;BR /&gt;+ (( N=((2+1)) ))&lt;BR /&gt;+ (( ((3-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli set access-rule layer 'amirP Network' rule-number 3 track.type log --domain Dom1 -s id.txt&lt;BR /&gt;+ (( N=((3+1)) ))&lt;BR /&gt;+ (( ((4-1))&amp;lt;3 ))&lt;BR /&gt;+ mgmt_cli publish -s id.txt&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [13:59:40] 13/3/2024&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Publish operation" succeeded (100%)&lt;BR /&gt;tasks:&lt;BR /&gt;- task-id: "01234567-89ab-cdef-92ba-1181b2b6b003"&lt;BR /&gt;task-name: "Publish operation"&lt;BR /&gt;status: "succeeded"&lt;BR /&gt;progress-percentage: 100&lt;BR /&gt;suppressed: false&lt;BR /&gt;task-details:&lt;BR /&gt;- publishResponse:&lt;BR /&gt;numberOfPublishedChanges: 3&lt;BR /&gt;mode: "async"&lt;BR /&gt;revision: "af6a7e28-cf9b-4ba2-9974-140caa87691b"&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 16:45:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/208641#M8395</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-03-13T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/209154#M8405</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;quick update.&lt;/DIV&gt;
&lt;DIV&gt;I made now some tests on a MDSM. It took a while to recognize that the 'name' of a rule is different.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I saw Network, Security or Application. No idea why it is different.&lt;/DIV&gt;
&lt;DIV&gt;After adjusting the script with the correct 'name' keyword, it did work as expected.&lt;/DIV&gt;
&lt;DIV&gt;Thanks a lot for your help!!&lt;/DIV&gt;
&lt;DIV&gt;Regards&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;---------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;Time: [15:27:50] 19/3/2024&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;---------------------------------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;"Publish operation"&amp;nbsp; succeeded&amp;nbsp; (100%)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;tasks:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;- task-id: "01234567-89ab-cdef-a9e1-6dbdb37642af"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; task-name: "Publish operation"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; status: "succeeded"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; progress-percentage: 100&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; suppressed: false&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; task-details:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; - publishResponse:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; numberOfPublishedChanges: 2993&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mode: "async"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; revision: "fa790a61-0d87-4ca1-a5b4-996d720071cc"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;e.g.: 'name'&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;[Expert@MDS-01:0]# mgmt_cli show access-layers -s id.txt | grep name&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "NG"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "Global_Policy Security"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "Global"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "NG2"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "Policy_B Network"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "Policy_C Network"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "Policy_C Network"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "Policy_X Network"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; name: "NG-T"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp; name: "DOM6"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;[Expert@MDS-01:0]# mgmt_cli show access-layers -s id.txt | grep name&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; name: "Global_Policy Security"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; name: "Global"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; name: "Policy_1 Application"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; name: "DOM2"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; name: "Policy_1 Security"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; name: "DOM2"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; name: "Policy_2 Application"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; name: "DOM2"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; name: "Policy_2 Security"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; name: "DOM2"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 16:00:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/209154#M8405</guid>
      <dc:creator>S_E_</dc:creator>
      <dc:date>2024-03-19T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: mass change 'track' or 'install on' field</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/209186#M8407</link>
      <description>&lt;P&gt;for track/log field, only option is to use API script.&lt;/P&gt;
&lt;P&gt;for "Install On", you can edit whole policy package to use specific "installation targets".&lt;/P&gt;
&lt;P&gt;Another option would be to create new network group which will be used on needed rules as "Install on". The content of this network group will be all desired gateways. If some gateway is removed or created, you just need to edit one network group, nothing else.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:58:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mass-change-track-or-install-on-field/m-p/209186#M8407</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2024-03-19T21:58:15Z</dc:date>
    </item>
  </channel>
</rss>

