Package ioids :: Module snortdb_extension :: Class SnortDB_DBConnector
[hide private]
[frames] | no frames]

Class SnortDB_DBConnector

source code

soapsytools.dbconnector.DBConnector --+    
                                      |    
           dbconnector.IoidsDBConnector --+
                                          |
                                         SnortDB_DBConnector

Standard DB connector - work on XML RPC database.

Instance Methods [hide private]
 
__init__(self)
Sets the parameters for the later db connections.
source code
 
getSnortDBSensor(self, snortDBSendorId, full=1) source code
 
getSnortDBPayload(self, snortDBPayloadId, full=1) source code
 
getSnortDBSignature(self, snortDBSignatureId, full=1) source code
 
getSnortDBTCPHeader(self, snortDBTCPHeaderId, full=1) source code
 
getSnortDBUDPHeader(self, snortDBUDPHeaderId, full=1) source code
 
getSnortDBICMPHeader(self, snortDBICMPHeaderId, full=1) source code
 
getSnortDBIPHeader(self, snortDBIPHeaderId, full=1) source code
 
getSnortDBEvent(self, snortDBEventId, event_id, full=1) source code
 
getExtensionEvent(self, plainEventId) source code
 
insertExtensionEvent(self, data) source code

Inherited from dbconnector.IoidsDBConnector: getExtensionForEvent, getIoidsClassification, getIoidsClassificationByCode, getIoidsEvent, getIoidsEvents, getIoidsEventsFromEventID, getIoidsPeer, getIoidsRelation, getIoidsRelationType, getIoidsSender, getIoidsSource, getRelatedEventsForIoidsEvent, insertFullIoidsEventWithRelation, insertIoidsEvent

Inherited from soapsytools.dbconnector.DBConnector: connect, disconnect, getAgent, getAgentClass, getComputer, getComputerType, getData, getDestination, getEncoding, getEvent, getEventType, getEvents, getEventsFromEventID, getObserver, getProcess, getProcessName, getProcessType, getReporter, getSource, getUser, getUserGroup, insertEvent, testConnection

Inherited from soapsytools.dbconnector.DBConnector (private): _getSomething, _performRequest

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Sets the parameters for the later db connections.

Most of the settings are taken from the global config file.
Overrides: dbconnector.IoidsDBConnector.__init__

insertExtensionEvent(self, data)

source code 
Overrides: dbconnector.IoidsDBConnector.insertExtensionEvent