Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Iodef::Pb::Format(3)  User Contributed Perl Documentation Iodef::Pb::Format(3)

NAME
       Iodef::Pb - Perl	extension for formatting an array of IODEFDocumentType
       (IODEF protocol buffer objects) messages	into things like tab-delmited
       tables, csv and snort rules

SYNOPSIS
	 use Iodef::Pb::Simple;
	 use Iodef::Pb::Format;

	 my $i = Iodef::Pb::Simple->new({
	   address	   => '1.2.3.4',
	   confidence	   => 50,
	   severity	   => 'high',
	   restriction	   => 'need-to-know',
	   contact	   => 'Wes Young',
	   assessment	   => 'botnet',
	   description	   => 'spyeye',
	   alternativeid   => 'example2.com',
	   id		   => '1234',
	   portlist	   => '443,8080',
	   protocol	   => 'tcp',
	   asn		   => '1234',
	 });

	 my $ret = Iodef::Pb::Format->new({
	   driver  => 'Table', # or 'Snort'
	   data	   => $i,
	 });

	 warn $ret;

DESCRIPTION
       This is a helper	library	for Iodef::Pb. It'll take a single (or array
       of) IODEFDocumentType messages and transform them to a number of
       different outputs (Table, Snort,	etc).

   EXPORT
       None by default.	Object Oriented.

SEE ALSO
	http://github.com/collectiveintel/iodef-pb-simple-perl
	http://collectiveintel.net

AUTHOR
       Wes Young, <wes@barely3am.com>

COPYRIGHT AND LICENSE
	 Copyright (C) 2012 by Wes Young <claimid.com/wesyoung>
	 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.24.1			  2013-08-27		  Iodef::Pb::Format(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::Format&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help