Commit Graph

4 Commits

Author SHA1 Message Date
Hao Miao
44abfe096c AlertMessage:
1、alertmessage添加is_distribute(待删除)、command_uuid、create_time、modify_time、alert_message_uuid属性。
2、AlertMessageController添加queryAlarmsByCommandId方法,根据commandUUID查询alertmessage
3、AlertMessageMapper添加新建、查询alertmessage
4、service重写处理alertmessage逻辑,现在alertmessage的isdistribute不需要了,需要删除
Command:
1、service添加updateCommandVaid方法,用于对研判后任务生成的指令研判下发
Task:
1、TaskCommandInfo类添加taskStatus,减少AlertMessageService的查询,并做了标注
2、Controller添加研判后任务下发指令\停止指令的方法validCommandInfoByTaskId
StaticRule、DynamicRule、WhiteList:
1、添加分页查询返回数据总数
2024-01-21 00:51:10 +08:00
EnderByEndera
073dfc9ba4 在CommandInfo字段中添加isValid字段 2024-01-19 15:45:06 +08:00
Hao Miao
cb6ca74df7 1、添加AlertMessage http接口,接收告警信息。
2、AlertMessage对象增加dynamicRuleId属性。需要发送时也携带dynamicRuleId字段
3、AlertMessageService添加获取dynamicRule对应的template,并根据template对AlertMessage中的FiveTupleWithMask进行筛选策略模板所需字段;添加生成TaskCommandInfo入Doris库
4、TaskCommandInfo新增templateId、protectLevel属性,方便AlertMessageService中查询任务的策略模板
5、前端响应字段的bug修复
2024-01-18 23:35:56 +08:00
Hao Miao
914b0f0e2a 1、增加AlertMessage http接口,接收告警信息,生成指令入库
2、staticrule优先级、频率限制范围
2024-01-17 19:20:45 +08:00