NAME
Net::Checkpoint::Management::v1 - Checkpoint Management API version 1.x client library
VERSION
version 0.001002
SYNOPSIS
use strict;
use warnings;
use Net::Checkpoint::Management::v1;
use Data::Dumper::Concise;
my $cpmgmt = Net::Checkpoint::Management::v1->new(
server => 'https://cpmgmt.example.com',
user => 'username',
passwd => '$password',
clientattrs => { timeout => 30 },
);
$cpmgmt->login;
DESCRIPTION
This module is a client library for the Checkpoint Management API version 1.x. Currently it is developed and tested against version R80.10.
ATTRIBUTES
api_versions
Returns a list of all available API versions which gets populated on the first call. Only works on API version 1.1 and higher.
api_version
The API version used by all methods. Is automatically set to the highest version available by the "login" method.
METHODS
login
Logs into the Checkpoint Manager API using version 1.
logout
Logs out of the Checkpoint Manager API using version 1.
publish
Publishes all previously submitted changes. Returns the task id on success.
discard
Discards all previously submitted changes. Returns a hashref containing the operation status messange and the number of discarded changes.
AUTHOR
Alexander Hartmaier <abraxxa@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Alexander Hartmaier.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.