Hello All,
First post, pardon my ignorance.
ENVIRONMENT:
FW1 build number:
This is Check Point Security Management Server R82 - Build 009
This is Check Point's software version R82 - Build 013
[SecurePlatform]
HOTFIX_GAIA_API_AUTOUPDATE
HOTFIX_R82_JUMBO_HF_MAIN Take: 60
WHAT:
I am trying to use mgmt_cli add host --batch to create 80 objects that are Shodan scanners.
I created a CSV files that looks like this:
# head shodan-hosts.csv
name,ip-address,comments
shodan-01,64.225.74.178,20260216
shodan-02,64.226.86.7,20260216
shodan-03,64.227.90.185,20260216
shodan-04,66.240.192.138,20260216
shodan-05,66.240.205.34,20260216
shodan-06,66.240.219.133,20260216
shodan-07,66.240.219.146,20260216
shodan-08,66.240.236.119,20260216
shodan-09,71.6.135.131,20260216
TERMINAL EXPERIENCE:
mgmt_cli add host --batch /tmp/shodan-hosts.csv
Username:
Password:
Line 2: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
Line 3: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
Line 4: code: "generic_err_invalid_parameter_name"
message: "Unrecognized parameter [name]"
... and so on for all 81 lines.
TSHOOTING I HAVE DONE:
I initially uploaded my CSV. I also used the SMS's vi to create the file on the server. No luck.
vi set list to show any odd whitespace. All good.
added a blank line at the end of the csv as shown in some examples (e.g., https://support.checkpoint.com/results/sk/sk113078). No luck.
Read/watched resources and I am not seeing what I am missing.
Assistance appreciated, thank you!