Mail::TLSRPT::Policy - TLSRPT policy object
version 2.20210112
my $policy = Mail::TLSRPT::Policy->new( policy_type => 'no-policy-found', policy_string => [], policy_domain => 'example.com', polixy_mx_host => 'mx.example.com', total_succerssful_session_count => 10, total_failure_session_count => 2, failures => $failures, );
Classes to process tlsrpt policy in a report
Create a new object
Create a new object using a data structure, this will create sub-objects as required.
Return the current object and sub-objects as a data structure
Return a textual human readable representation of the current object and its sub-objects
Generate metrics using the given Prometheus::Tiny object
Marc Bradshaw <marc@marcbradshaw.net>
This software is copyright (c) 2020 by Marc Bradshaw.
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 Mail::TLSRPT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::TLSRPT
CPAN shell
perl -MCPAN -e shell install Mail::TLSRPT
For more information on module installation, please visit the detailed CPAN module installation guide.