NAME
Device::Firewall::PaloAlto::Test::SecPolicy - A Palo Alto rulebase test result.
VERSION
version 0.1.9
SYNOPSIS
use Test::More;
my $result = $fw->test->secpolicy( ... );
# Object returns true or false in boolean context depending on whether the
# flow was allowed / denied through the firewall.
ok( $result, "Flow allowed");
DESCRIPTION
METHODS
rulename
Returns the rulename that the flow matched against. If the flow matched the default deny at the end of the policy, the rule name is '__DEFAULT_DENY__'
action
The action that the policy would have taken on the flow. Can be either 'allow' or 'deny'
index
The index of the policy that the flow matched against.
AUTHOR
Greg Foletta <greg@foletta.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Greg Foletta.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.