{% set nav_active = 'tasks' %} {% include "_nav.html" %}

任务历史

全部扫描任务记录 · 每页 {{ page_size }} 条
共 {{ total }} 条记录 · 第 {{ page }} / {{ total_pages }} 页
{% if tasks %} {% for t in tasks %} {% endfor %}
时间 任务 ID 文件名 来源渠道 类型 大小 模式 检测结论 处置动作 风险分 耗时
{{ t.created_at|bj_time("%m-%d %H:%M:%S") if t.created_at else '' }} {{ t.id[0:10] }}... {{ t.filename }} {{ t.channel|cn_channel }} {{ t.real_type[:16] if t.real_type else t.declared_ext }} {% if t.size > 1048576 %}{{ (t.size / 1048576)|round(1) }} MB {% elif t.size > 1024 %}{{ (t.size / 1024)|round(1) }} KB {% else %}{{ t.size }} B{% endif %} {{ t.mode|cn_mode }}
{{ t.verdict|cn_verdict }}
{{ t.action|cn_action }} {{ "%.0f"|format(t.score) }} {{ t.duration_ms }} ms
详情 ({{ t.findings|length }})
{% if t.findings %} {% for f in t.findings %} {% endfor %}
检测引擎严重度命中规则权重细节
{{ f.engine|cn_engine }} {{ f.severity|cn_severity }} {{ f.rule }} {{ f.weight }} {{ f.detail }}
{% else %}
未检出任何风险信号
{% endif %} {% if t.sha256 %}
SHA256:{{ t.sha256 }} {% if t.md5 %}
MD5:{{ t.md5 }}{% endif %}
策略版本:{{ t.policy_version }} {% if t.reason %}
裁决依据:{{ t.reason }}{% endif %}
{% endif %}
{% for r in RISK_MATRIX %}
{{ r.label }} {{ r.desc }}
{% endfor %}
显示第 {{ (page - 1) * page_size + 1 }} - {{ [page * page_size, total]|min }} 条,共 {{ total }} 条
{% if has_prev %} 上一页 {% else %} 上一页 {% endif %} {% if page_nums and page_nums[0] > 1 %} 1 {% if page_nums[0] > 2 %}···{% endif %} {% endif %} {% for p in page_nums %} {% if p == page %} {{ p }} {% else %} {{ p }} {% endif %} {% endfor %} {% if page_nums and page_nums[-1] < total_pages %} {% if page_nums[-1] < total_pages - 1 %}···{% endif %} {{ total_pages }} {% endif %} {% if has_next %} 下一页 {% else %} 下一页 {% endif %}
{% else %}
📭
暂无扫描记录。调用 /api/v1/scans 提交文件后,结果会自动出现在这里。
{% endif %}