class documentation

class NmapElasticsearchPlugin(NmapBackendPlugin): (source)

View In Hierarchy

This class enables the user to store and manipulate nmap reports in a elastic search db.

Method __init__ Undocumented
Method delete delete NmapReport if the backend :param id: str
Method get retrieve a NmapReport from the backend :param id: str :return: NmapReport
Method getall :return: collection of tuple (id,NmapReport) :param filter: Nice to have implement a filter capability
Method insert insert NmapReport in the backend :param NmapReport: :return: str the ident of the object in the backend for future usage or None
Instance Variable index Undocumented
Instance Variable _esapi Undocumented

Inherited from NmapBackendPlugin:

Instance Variable dbname Undocumented
Instance Variable store Undocumented
def delete(self, id): (source)

delete NmapReport if the backend :param id: str

def get(self, id): (source)

retrieve a NmapReport from the backend :param id: str :return: NmapReport

def getall(self, filter=None): (source)

:return: collection of tuple (id,NmapReport) :param filter: Nice to have implement a filter capability

def insert(self, report, doc_type=None): (source)

insert NmapReport in the backend :param NmapReport: :return: str the ident of the object in the backend for future usage or None

Undocumented

Undocumented