{% extends "base.html" %} {% block title %}Sentinel — GitHub Issues{% endblock %} {% block content %}
GitHub Configuration {% if gh_configured %} Connected {% else %} Not configured {% endif %}
{% if gh_configured %}

{{ gh_owner }}/{{ gh_repo }} — Token configured via environment

{% else %}

Set SENTINEL_GITHUB_OWNER, SENTINEL_GITHUB_REPO, and SENTINEL_GITHUB_TOKEN environment variables, then restart the server.

{% endif %}
{% if approved %}
Approved Findings ({{ approved|length }})
{% for db_id, finding in approved %}
{{ finding.severity.value }} #{{ db_id }} — {{ finding.title }} {{ finding.detector }} {% if finding.file_path %} {{ finding.file_path }} {% endif %}
{% endfor %}
{% if gh_configured %}
{% endif %}
{% else %}

No approved findings

Approve findings from the run detail page to queue them for GitHub issue creation.

{% endif %}
{% endblock %}