FreeBSD Manual Pages
Iodef::Pb::Simple(3) User Contributed Perl Documentation Iodef::Pb::Simple(3) NAME Iodef::Pb::Simple - Perl extension providing high level API access to Iodef::Pb. It takes simple key-pair hashes and maps them to the appropriate IODEF classes using a Module::Pluggable framework of plugins. SYNOPSIS use Iodef::Pb::Simple; use Data::Dumper; my $x = Iodef::Pb::Simple->new({ contact => 'Wes Young', address => 'example.com', #rdata => '1.2.3.4', id => '1234', address => '1.1.1.1', prefix => '1.1.1.0/24', asn => 'AS1234', cc => 'US', assessment => 'botnet', confidence => '50', restriction => 'private', method => 'http://www.virustotal.com/analisis/02da4d701931b1b00703419a34313d41938e5bd22d336186e65ea1b8a6bfbf1d-1280410372', }); my $str = $x->encode(); warn Dumper($x); warn Dumper(IODEFDocumentType->decode($str)); DESCRIPTION This library provides high level access to the Iodef::Pb API. It allows for the rapid generation of simple IODEF messages. Once the buffer's are encoded, they can easily be transported via REST, ZeroMQ, Crossroads.io or any other messaging framework (or the google protocol RPC bits themselves). To store these in a database, you can easily base64 the data-structure and save as text. EXPORT None by default. Object Oriented. SEE ALSO http://github.com/collectiveintel/iodef-pb-simple-perl http://collectiveintel.org AUTHOR Wes Young, <wes@barely3am.com> COPYRIGHT AND LICENSE Copyright (C) 2012 by Wes Young <wesyoung.me> Copyright (C) 2012 the REN-ISAC <ren-isac.net> Copyright (C) 2012 the trustee's of Indiana University <iu.edu> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available. perl v5.32.1 2013-11-19 Iodef::Pb::Simple(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Iodef::Pb::Simple&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>