Skip to content

Commit

Permalink
Msg filter (#1144)
Browse files Browse the repository at this point in the history
Message filter support for nebula_osquery
  • Loading branch information
grogsaxle authored Oct 3, 2022
1 parent 20e2165 commit 5126963
Show file tree
Hide file tree
Showing 25 changed files with 956 additions and 385 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ var/
.installed.cfg
*.egg

# vim
*.swp
*.swo

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: check-merge-conflict
- id: check-ast
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black
args: ['--line-length', '119']
Expand Down
4 changes: 2 additions & 2 deletions hubblestack/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def _validate_file_roots(file_roots):
"""
if not isinstance(file_roots, dict):
log.warning(
"The file_roots parameter is not properly formatted," " using defaults"
"The file_roots parameter is not properly formatted, using defaults"
)
return {"base": _expand_glob_path([hubblestack.syspaths.BASE_FILE_ROOTS_DIR])}
return _normalize_roots(file_roots)
Expand Down Expand Up @@ -1323,7 +1323,7 @@ def _absolute_path(path, relative_to=None):
_abspath = os.path.join(relative_to, path)
if os.path.isfile(_abspath):
log.debug(
"Relative path '%s' converted to existing absolute path " "'%s'",
"Relative path '%s' converted to existing absolute path '%s'",
path,
_abspath,
)
Expand Down
Loading

0 comments on commit 5126963

Please sign in to comment.