Device::Firewall::PaloAlto::Test::SecPolicy - A Palo Alto rulebase test result.
version 0.1.9
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");
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__'
The action that the policy would have taken on the flow. Can be either 'allow' or 'deny'
The index of the policy that the flow matched against.
Greg Foletta <greg@foletta.org>
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.
To install Device::Firewall::PaloAlto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Firewall::PaloAlto
CPAN shell
perl -MCPAN -e shell install Device::Firewall::PaloAlto
For more information on module installation, please visit the detailed CPAN module installation guide.