2020-06-29 23:17:38 -06:00
|
|
|
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
2021-03-03 22:12:11 -09:00
|
|
|
# or more contributor license agreements. Licensed under the Elastic License
|
|
|
|
|
# 2.0; you may not use this file except in compliance with the Elastic License
|
|
|
|
|
# 2.0.
|
2020-06-29 23:17:38 -06:00
|
|
|
|
|
|
|
|
"""Detection rules."""
|
2022-12-08 15:49:49 -05:00
|
|
|
|
2021-03-24 10:24:32 -06:00
|
|
|
import sys
|
|
|
|
|
|
2022-12-08 15:49:49 -05:00
|
|
|
|
2024-03-14 20:18:32 -05:00
|
|
|
assert (3, 12) <= sys.version_info < (4, 0), "Only Python 3.12+ supported"
|
2021-03-24 10:24:32 -06:00
|
|
|
|
|
|
|
|
from . import ( # noqa: E402
|
2024-08-06 18:07:12 -04:00
|
|
|
custom_schemas,
|
|
|
|
|
custom_rules,
|
2021-03-24 10:24:32 -06:00
|
|
|
devtools,
|
|
|
|
|
docs,
|
|
|
|
|
eswrap,
|
2021-06-02 20:37:12 -08:00
|
|
|
ghwrap,
|
2021-03-24 10:24:32 -06:00
|
|
|
kbwrap,
|
|
|
|
|
main,
|
2021-06-02 20:37:12 -08:00
|
|
|
ml,
|
2021-03-24 10:24:32 -06:00
|
|
|
misc,
|
2022-03-04 08:20:44 -09:00
|
|
|
navigator,
|
2021-03-24 10:24:32 -06:00
|
|
|
rule_formatter,
|
|
|
|
|
rule_loader,
|
|
|
|
|
schemas,
|
|
|
|
|
utils
|
|
|
|
|
)
|
2020-06-29 23:17:38 -06:00
|
|
|
|
|
|
|
|
__all__ = (
|
2024-08-06 18:07:12 -04:00
|
|
|
'custom_rules',
|
|
|
|
|
'custom_schemas',
|
2020-10-07 22:15:33 +02:00
|
|
|
'devtools',
|
2020-09-30 17:43:45 -05:00
|
|
|
'docs',
|
2020-06-29 23:17:38 -06:00
|
|
|
'eswrap',
|
2021-06-02 20:37:12 -08:00
|
|
|
'ghwrap',
|
2020-10-07 22:15:33 +02:00
|
|
|
'kbwrap',
|
2020-06-29 23:17:38 -06:00
|
|
|
"main",
|
|
|
|
|
'misc',
|
2021-06-02 20:37:12 -08:00
|
|
|
'ml',
|
2022-03-04 08:20:44 -09:00
|
|
|
'navigator',
|
2020-06-29 23:17:38 -06:00
|
|
|
'rule_formatter',
|
|
|
|
|
'rule_loader',
|
2020-07-23 13:39:35 -04:00
|
|
|
'schemas',
|
2022-03-29 15:47:48 -08:00
|
|
|
'utils'
|
2020-06-29 23:17:38 -06:00
|
|
|
)
|