- Products
- Learn
- Local User Groups
- Partners
-
More
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
IDC Spotlight -
Uplevel The SOC
Important! R80 and R80.10
End Of Support around the corner (May 2021)
Hi all,
I am happy to update about important addition to R80.40 Management API - Batch Objects commands.
Batch API Significantly increase API performance in multiple object operations (add/set/delete).
*In the tested scenario of adding and deleting 256 hosts objects.
Commands:
Batch supported types: access-role, address-range, application-site-category, application-site-group, dns-domain, dynamic-object, group, group-with-exclusion, host, lsv-profile, multicast-address-range, network, package, security-zone, service-dce-rpc, service-group, service-icmp, service-other, service-sctp, service-tcp, service-udp, tag, time, time-group, vpn-community-meshed, vpn-community-star, wildcard.
Example:
add objects-batch
Add two hosts and two address ranges
Command
POST {{server}}/add-objects-batch
Content-Type: application/json
X-chkp-sid: {{session}}
{
"objects" : [ {
"type" : "host",
"list" : [ {
"name" : "New Host 1",
"ip-address" : "192.0.2.1"
}, {
"name" : "New Host 2",
"ip-address" : "192.0.2.2"
} ]
}, {
"type" : "address-range",
"list" : [ {
"name" : "New Address Range 1",
"ip-address-first" : "192.0.2.1",
"ip-address-last" : "192.0.2.10"
}, {
"name" : "New Address Range 2",
"ip-address-first" : "192.0.2.12",
"ip-address-last" : "192.0.2.20"
} ]
} ]
}
Output
{
"tasks" : [ {
"task-name" : "add-objects-batch",
"task-id" : "abcdef01-2345-6789-b3e1-ec3bf46e688a",
"status" : "succeeded",
"progress-percentage" : 100,
"progress-description" : "Operation Complete",
"suppressed" : false,
"task-details" : [ {
"status" : "Batch operation completed successfully"
} ]
} ]
}
Regards,
Management API team.
Nice!
A large part of my day to day watching putty sessions iterate through API calls has just come to an end! What am I going to do now?
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY