{% extends "base.html" %} {% block title %}Agents — secfoo{% endblock %} {% block content %} {% from "_page.html" import page_head %} {{ page_head("agents", "Agents", "Agent health", "Every agent secfoo can run assessments with, and whether it's ready on this machine. \"Ready\" means the CLI (or API key) was found. secfoo can't check a CLI's sign-in without launching it, so an expired login shows up as a failed run.") }}
{% for a in agents %}
{{ a.label }}
--agent {{ a.id }}
{% if a.available %}Ready {% else %}Not found{% endif %}
runs{{ a.runs }}
last run{{ a.last_run_at | fmt_ago }}
last success{{ a.last_success_at | fmt_ago }}
cost tracking{{ 'reported by CLI' if a.reports_cost else 'not reported' }}
{% if a.last_status and a.last_status not in ('success', 'running', 'pending') %}
Last run ended as {{ a.last_status }}. Check the sign-in or open the run for the fix.
{% endif %} {% if a.install_hint %}
Set up
{{ a.install_hint }}
{% endif %}
{% endfor %}
{% endblock %}