GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IODEF::PB::SIMPLE (3)

.ds Aq ’

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.

CONTENTS

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 trustees 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IODEF::PB::SIMPLE (3) 2013-11-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.