Developer Network

Phillip Runner
I am using the REST API to create access-rules.  As part of the process, I'd like to validate that the rule name that the customer is submitting doesn't already exist in the rulebase/layer.  I was thinking I'd use 'show-access-rulebase' to export all the rules in the layer and then look for rule name matches.    The code I have to do this works. … (Show more)
in Developers (Code Hub)
Tim Koopman
I have found a problem with a couple of indirect where used results.   It started when we were trying to do the indirect where used via the API call and after a period of time we would get the error "Management server failed to execute command". I then tried in SmartConsole and while it doesn’t error in SmartConsole the results didn't seem to… (Show more)
in Developers (Code Hub)
kontad092704f-5725-450b-9b96-ae5c0bbe04aa
I'm trying to write a simple ansible play, containing only a login and a logout task, by following the instructions found here: https://github.com/CheckPointSW/cpAnsible .   My playbook looks like this: --- - hosts: "firewalls"   tasks:   - name: "login"     check_point_mgmt:       command: login       parameters:         username:… (Show more)
in Developers (Code Hub)
Maik Dummer
Hello,   Is it possible to use the management API to export the rulebase as a .csv file instead of the json format? I'm thinking about a similar layout as the option within the GUI. So within the "Security Policy" section after you open a policy there is the "Actions" button at the top. After clicking it you are presented with a menu which in… (Show more)
in Developers (Code Hub)
Sebastian Glania
parsing  mgmt_cli using JQ delivers not expected result   I am on R80.10 SMS T462 and run the following command: [Expert@R80.10:0]# mgmt_cli login user admin password vpn123 > id.txt [Expert@R80.10:0]# mgmt_cli show service-tcp -s id.txt name http --format json | jq '{name: .name, port: .port}' {   "name": null,   "port": null } I would have… (Show more)
in Developers (Code Hub)
ANDRE GUERGOLET
We are using a lot the Check Point REST APIs to read and write data into CMA Database. I read other posts talking about the reason why the write API response is slow to write data and the answer is: "validations to maintain the database integrity make API slow" My question is: Why the API is too slow to read data (not write), for example, get a… (Show more)
in Developers (Code Hub)
Danilo Silva
Hello Checkmates, I'm using the Check Point API to read all objects from a CMA (MDS Environment). When I read a batch of objects and the API will return an object of vnp-community-meshed type, an error was thrown. There is any workaround for this? Somebody ran into the same problem?
in Developers (Code Hub)
Veeraselvam manoharan
Hi all,   Now I am learning about Checkpoint Restful API functionalists.   Please share me the usage of "export" function in Restful API access:     https://<mgmt-server>:<port>/web_api/export     https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/export~v1.1%20      Is that export command output will contains complete configuration… (Show more)
in Developers (Code Hub)
Mike Ware
I need to export the rulebase in html format including hit count data. web_api_show_package is great but doesn't include hit count column, anyone created an API script which will include this data ?
in Developers (Code Hub)
Burton Peake
I can't figure out how to query global domain objects via R80.10 API? What I am trying to do is see if a host exists in the global domain or not. I've tried doing something like this, but it's not returning back anything even if it exists in the global domain.   https://{MDS_IP}/web_api/show-objects   { "limit" : 50, "offset" : 0, "order" : [… (Show more)
in Developers (Code Hub)
Phillip Runner
Are there any default timeouts for certain asynchronous actions such as publish, install-policy, etc?  I'm writing code that will publish changes, and then monitor the task-id associated with that publish action.  Knowing how long Checkpoint will wait before a certain task will timeout and (I assume) mark the task status as 'failed' will help me… (Show more)
in Developers (Code Hub)
Veeraselvam manoharan
Hi all,   I want to fetch/export configuration and rule file from Management server, if possible please suggest the Cli command or Restful API commands.   In Sonicwall firewall, i used below command to fetch configuration and rule file: For Configuration: export current-config exp scp… (Show more)
in Developers (Code Hub)
Load more items