Mail::TLSRPT::Report - TLSRPT report object
version 2.20210112
my $report = Mail::TLSRPT::Report->new( organization_name => 'My Corp', start_datetime => $date, end_datetime => $enddate, contact_info => 'reports@example.com', report_id => '123abc', policies => $policies, };
Classes to process tlsrpt report
Create a new object
Create a new object using a JSON string, this will create sub-objects as required.
Will detect and handle a gzipped string.
Create a new object using a gzipped JSON string, this will create sub-objects as required.
Create a new object using a data structure, this will create sub-objects as required.
Return the current object and sub-objects as a json string
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
Return a csv representation of the current object and its sub-objects
If the argument add_header is true then a csv header will be included in the output.
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.