Hi,
Why are you modifying the limit value, which identifies how many groups will be added to the array that the group members are searched from?
Leave the value where it was and also use the latest version of the scripts.
Group Members is built by reading the full list of groups into an array, then processing the array of groups for each group, for its respective members, such that we get all of the members listed for each group.
The proper example of a group members CSV file:
"name","members.add"
"TEST_GROUP_01","test-addr-range-01-062.128.100.000-062.128.101.255"
"TEST_GROUP_01","test-addr-range-02-010.128.100.000-010.128.101.255"
"TEST_GROUP_01","test-addr-range-03-010.128.102.000-010.128.103.255"
"TEST_GROUP_01","test-addr-range-04-010.128.104.000-010.128.105.255"
"TEST_GROUP_01","test-addr-range-05-010.128.106.000-010.128.107.255"
"TEST_GROUP_02","TEST-HOST-01"
"TEST_GROUP_02","TEST-HOST-02"
"TEST_GROUP_02","TEST-HOST-03"
"TEST_GROUP_02","TEST-HOST-04"
"TEST_GROUP_02","TEST-HOST-05"
"TEST_GROUP_03","TEST-HOST-02"
"TEST_GROUP_03","TEST-HOST-04"
"TEST_GROUP_04","netw_test_LAN_01"
"TEST_GROUP_04","netw_test_LAN_02"
"TEST_GROUP_04","netw_test_LAN_03"
"TEST_GROUP_04","netw_test_LAN_04"
"TEST_GROUP_04","netw_test_LAN_05"
"TEST_GROUP_05",".1.test.domain.local"
"TEST_GROUP_05",".2.test.domain.local"
"TEST_GROUP_05",".3.test.domain.local"
For best results in determining if and what is going wrong, provide a executing of the script with the “-v” (verbose mode) and a full copy of the script execution from the CLI. I recommend not using the “—password” option, but entering that at the prompt when the mgmt_cli login executes, since I don’t need to know any passwords.
That should indicate if the processing is happening as expected.
Latest version is updated on GitHub: https://github.com/mybasementcloud/R8x-export-import-api-scripts, right now that is version 00.25.01
Versions prior to 00.23.00 do not execute operations for more than either 500 (API limitation) or the set APICLIObjectLimit value objects, and version 00.24.00 and higher handle group members and host interfaces for more than 500 groups or hosts, respectively.
BR
Eric Beasley
Security Engineer, North America Channel Sales
Check Point Software Technologies Ltd.
Cell: +1 708-224-7724 E-mail: ericb@checkpoint.com
Additional Contact Informaton:
Support : +1 (888) 361 5030 or +1 (972) 444 6600 Technical Assistance Center (TAC)
Partner Sales Assistance: (866) 488-6689 or cpp@checkpoint.com
Account Services: +1 (972) 444-6600, option 5 or AccountServices@checkpoint.com
Licensing Advocacy: +1 (800) 429-4391 or advocacy@checkpoint.com
Inside Sales: +1 (650) 628-2225
Check Point Incident Response Team: (866) 923-0907 > initial consultation is free
emergency-response@checkpoint.com<mailto:emergency-response@checkpoint.com> > you do not need to be an existing Check Point customer