IPLens
{% set ep = request.endpoint or '' %} {% macro nav_link(endpoint, label, active) -%}
{{ label }}
{%- endmacro %} {{ nav_link('overview', 'Discovery', ep in ('overview', 'subnet', 'eni')) }} {{ nav_link('ips', 'IP List', ep.startswith('ips')) }} {{ nav_link('visual', 'Visual', ep.startswith('visual')) }} {{ nav_link('trends_page', 'Trends', ep == 'trends_page') }} {{ nav_link('diff_page', 'Diff', ep == 'diff_page') }} {{ nav_link('cidr_planner', 'CIDR Planner', ep == 'cidr_planner') }} {{ nav_link('scope_page', 'Scope', ep.startswith('scope')) }} {{ nav_link('rules_list', 'Rules', ep.startswith('rule')) }} {{ nav_link('suggestions', 'Suggestions', ep == 'suggestions') }} {{ nav_link('ownership_page', 'Ownership', ep == 'ownership_page') }} {{ nav_link('settings_page', 'Settings', ep.startswith('settings')) }} {{ nav_link('logs', 'Logs', ep == 'logs') }}
{% if header_snap %} viewing
{{ account_label(header_snap) }}
· {{ header_snap.region }} · updated {{ header_snap.taken_at | localtime }} {% elif active_account %} viewing
{{ active_label }}
· no data yet · {{ active_account.region }} {% endif %} {% if active_account and active_account.identity_warning %} ·
AWS account changed
{% endif %} {% if active_account and active_account.problem %} ·
{{ active_account.problem }}
{% elif active_account and active_account.auth_mode == 'temporary' %} · {{ active_account.status }} {% endif %}
{% if scope_count %}
scope: {{ scope_count }} filter{{ '' if scope_count == 1 else 's' }}
clear
{% endif %} {% if account_choices %}
{# Detail pages belong to one snapshot: after switching, land on Discovery. #}
Active account
{% for c in account_choices %}
{{ c.label }} · {{ c.account.region }}
{% endfor %}
Switch
{% else %}
add an AWS account
{% endif %}
{% for category, message in get_flashed_messages(with_categories=true) %}
{{ message }}
{% endfor %} {% block content %}{% endblock %}
{# Background jobs (Refresh, service crawl, Terraform sync): progress modal, see jobs.js. #}
Working…
· elapsed
0s
·
Log (live)
Cancel
Hide
Close and reload