mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 17:35:19 +00:00
Formatted error code definitions
This commit is contained in:
parent
e9af99c147
commit
c90d3e811e
26
tools/sigmac
26
tools/sigmac
@ -38,22 +38,22 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
# Error codes
|
||||
|
||||
ERR_OUTPUT = 1
|
||||
ERR_INVALID_YAML = 3
|
||||
ERR_SIGMA_PARSING = 4
|
||||
ERR_OPEN_SIGMA_RULE = 5
|
||||
ERR_OPEN_CONFIG_FILE = 5
|
||||
ERR_OUTPUT = 1
|
||||
ERR_INVALID_YAML = 3
|
||||
ERR_SIGMA_PARSING = 4
|
||||
ERR_OPEN_SIGMA_RULE = 5
|
||||
ERR_OPEN_CONFIG_FILE = 5
|
||||
ERR_CONFIG_INVALID_YAML = 6
|
||||
ERR_CONFIG_PARSING = 6
|
||||
ERR_BACKEND = 8
|
||||
ERR_NOT_SUPPORTED = 9
|
||||
ERR_NO_TARGET = 10
|
||||
ERR_CONFIG_PARSING = 6
|
||||
ERR_BACKEND = 8
|
||||
ERR_NOT_SUPPORTED = 9
|
||||
ERR_NO_TARGET = 10
|
||||
ERR_RULE_FILTER_PARSING = 11
|
||||
ERR_CONFIG_REQUIRED = 20
|
||||
ERR_CONFIG_ORDER = 21
|
||||
ERR_NOT_IMPLEMENTED = 42
|
||||
ERR_CONFIG_REQUIRED = 20
|
||||
ERR_CONFIG_ORDER = 21
|
||||
ERR_NOT_IMPLEMENTED = 42
|
||||
ERR_PARTIAL_FIELD_MATCH = 80
|
||||
ERR_FULL_FIELD_MATCH = 90
|
||||
ERR_FULL_FIELD_MATCH = 90
|
||||
|
||||
def print_verbose(*args, **kwargs):
|
||||
if cmdargs.verbose or cmdargs.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user