{% extends "base.html" %} {% from "_macros.html" import no_data with context %} {% block title %}Scope{% endblock %} {% block content %}

Scope

The scope limits Discovery, the IP list, Visual, rules, suggestions and every export to the VPCs, subnets and IP ranges chosen here. It is saved for this account only.

{% if not snap %} {{ no_data() }} {% endif %} {% if cfg.count %}
Active scope: {{ cfg.count }} filter{{ '' if cfg.count == 1 else 's' }} {% if snap %}· {{ in_scope.vpcs }} of {{ totals.vpcs }} VPCs and {{ in_scope.subnets }} of {{ totals.subnets }} subnets in scope{% endif %}
{% else %}
No scope: every VPC, subnet and IP of the snapshot is shown.
{% endif %} {% set vpc_ids = tree | map(attribute='vpc_id') | list %} {% set subnet_ids = [] %}{% for v in tree %}{% for s in v.subnets %}{% set _ = subnet_ids.append(s.subnet_id) %}{% endfor %}{% endfor %}
VPCs
Subnets
IP ranges

Leave everything empty for no scope.

{% endblock %}