* perf: 优化 suggesstion

* perf: 修改 migrations
This commit is contained in:
老广
2022-02-24 12:03:40 +08:00
committed by GitHub
parent 484b75bb53
commit 02ca473492
11 changed files with 16 additions and 126 deletions

View File

@@ -29,8 +29,8 @@ __all__ = ['CommandViewSet', 'CommandExportApi', 'InsecureCommandAlertAPI']
class CommandQueryMixin:
command_store = get_command_storage()
filterset_fields = [
"asset", "system_user", "user", "session", "risk_level",
"input"
"asset", "system_user", "user", "session",
"risk_level", "input"
]
default_days_ago = 5