5a630dd61d
* Generate attack layer files and build with package
* add update-navigator-gists command
* add workflow to update navigator gists on pushes to main
* Add coverage readme
* fix keys for links
* update navigator layer names
* purge gist files prior to update; add badge
* Update how the navigator links are displayed
* moved navigator code to dedicated and refactored to dataclasses
* convert gist links to permalink versions
* alphabetize; catch 404 for gist update
(cherry picked from commit 254b4eb23f)
44 lines
782 B
Python
44 lines
782 B
Python
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
# 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.
|
|
|
|
"""Detection rules."""
|
|
import sys
|
|
|
|
assert (3, 8) <= sys.version_info < (4, 0), "Only Python 3.8+ supported"
|
|
|
|
from . import ( # noqa: E402
|
|
devtools,
|
|
docs,
|
|
eswrap,
|
|
ghwrap,
|
|
kbwrap,
|
|
main,
|
|
mappings,
|
|
ml,
|
|
misc,
|
|
navigator,
|
|
rule_formatter,
|
|
rule_loader,
|
|
schemas,
|
|
utils
|
|
)
|
|
|
|
__all__ = (
|
|
'devtools',
|
|
'docs',
|
|
'eswrap',
|
|
'ghwrap',
|
|
'kbwrap',
|
|
'mappings',
|
|
"main",
|
|
'misc',
|
|
'ml',
|
|
'navigator',
|
|
'rule_formatter',
|
|
'rule_loader',
|
|
'schemas',
|
|
'utils',
|
|
)
|