Represents a single stanza within a vigilance configuration file. More...
Inheritance diagram for ConfigurationStanza:Public Member Functions | |
| def | __init__ |
| def | parse |
| Parses a single configuration stanza into its constituent constraints. More... | |
Public Attributes | |
| suite | |
Represents a single stanza within a vigilance configuration file.
These stanzas exist to easily allow configuration of vigilance constraints that should be applied to a codebase.
| def __init__ | ( | self, | |
| suite | |||
| ) |
| def parse | ( | self, | |
| stanza | |||
| ) |
Parses a single configuration stanza into its constituent constraints.
| stanza | A dictionary (obtained from parsing vigilance configuration YAML). |
| vigilance.error.ConfigurationParsingError | if the configuration stanza cannot be parsed. |
| suite |