pyfixbuf.cert — Information Elements for NetSA Tools

The pyfixbuf.cert module provides functions to update an pyfixbuf.InfoModel with the Information Elements defined by CERT and used by the NetSA tools such as YAF and super_mediator. These functions load the information elements from the cert_ipfix.xml file, which is included as a resource in the pyfixbuf distribution. To load these elements into your Information Model, use:

import pyfixbuf
import pyfixbuf.cert

model = pyfixbuf.InfoModel()
pyfixbuf.cert.add_elements_to_model(model)
pyfixbuf.cert.add_elements_to_model(model: InfoModel)

Adds to the pyfixbuf.InfoModel model the text returned by info_element_xml.

pyfixbuf.cert.info_element_xml() str

Returns a string containing the XML text that defines the Information Elements defined by the CERT at SEI and used by YAF and other NetSA tools.

Note: The length of this string is approximately 198k.