suricata_check.checkers.styleguide.state ======================================== .. py:module:: suricata_check.checkers.styleguide.state .. autoapi-nested-parse:: `StateChecker`. Classes ------- .. autoapisummary:: suricata_check.checkers.styleguide.state.StateChecker Module Contents --------------- .. py:class:: StateChecker(include: Optional[collections.abc.Iterable[str]] = None) Bases: :py:obj:`suricata_check.checkers.interface.CheckerInterface` The `StateChecker` contains several checks for Suricata options relating to the connection or detection state. Codes S500-S510 report on non-standard usages of `flow` Codes S510-S520 report on non-standard usages of `flowbits` Codes S520-S530 report on non-standard usages of `xbits` Initializes the checker given a list of issue codes to emit. .. py:attribute:: codes A Mapping of issue codes emitted by the checker to metadata for those issue types. The metadata is structured in the form of a Mapping from attribute name to attribute value. The one mandatory metadata attribute is severity, which must be one of the levels provided by the `logging` module