Zion Boggan
repos/cti-detection-automation/templates/dashboard.html
zionboggan.com ↗
24 lines · html
History for this file →
1
{% extends "base.html" %}
2
{% block heading %}Pending bundles{% endblock %}
3
{% block content %}
4
<div class="panel">
5
  <h2>Candidate rule bundles</h2>
6
  {% if bundles %}
7
  <table>
8
    <tr><th>Bundle</th><th>Generated</th><th>Indicators</th><th>New</th><th>Techniques</th><th>Status</th></tr>
9
    {% for b in bundles %}
10
    <tr>
11
      <td class="mono">{{ b.bundle_id }}</td>
12
      <td class="muted">{{ b.generated_at }}</td>
13
      <td>{{ b.indicator_count }}</td>
14
      <td>{{ b.diff.added }}</td>
15
      <td>{{ b.technique_count }}</td>
16
      <td><span class="badge {{ b.status }}">{{ b.status }}</span></td>
17
    </tr>
18
    {% endfor %}
19
  </table>
20
  {% else %}
21
  <p class="muted">No bundles generated yet. Run the pipeline to produce one.</p>
22
  {% endif %}
23
</div>
24
{% endblock %}