feat: 添加命令复核逻辑; 添加命令复核工单; 5

This commit is contained in:
Bai
2021-04-27 17:48:07 +08:00
committed by Jiangjie.Bai
parent 7712c1659e
commit 4a9e83ba15
3 changed files with 4 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ class Handler(BaseHandler):
apply_run_command = self.ticket.meta.get('apply_run_command')
apply_from_session_id = self.ticket.meta.get('apply_from_session_id')
apply_from_cmd_filter_rule_id = self.ticket.meta.get('apply_from_cmd_filter_rule_id')
apply_from_cmd_filter_id = self.ticket.meta.get('apply_from_cmd_filter_id')
applied_body = '''{}: {},
{}: {},
@@ -26,5 +27,6 @@ class Handler(BaseHandler):
_("Applied run command"), apply_run_command,
_("Applied from session"), apply_from_session_id,
_("Applied from command filter rules"), apply_from_cmd_filter_rule_id,
_("Applied from command filter"), apply_from_cmd_filter_id,
)
return applied_body