{% extends "base.html" %} {% block title %}LASSO — Profile: {{ profile.name }}{% endblock %} {% block breadcrumb %}
  • {% endblock %} {% block content %}

    {{ profile.name }} {{ source }}

    {% if profile.description %}

    {{ profile.description }}

    {% endif %} {% if profile.tags %}
    {% for tag in profile.tags %} {{ tag }} {% endfor %}
    {% endif %}
    Config Hash
    {{ profile.config_hash()[:16] }}
    Version
    {{ profile.version }}
    Created
    {{ profile.created_at | timeago }}
    Working Directory
    {{ profile_data.filesystem.working_dir }}
    Max Disk
    {{ profile_data.filesystem.max_disk_mb }}MB
    Temp Dir Size
    {{ profile_data.filesystem.temp_dir_mb }}MB
    Read-Only Paths ({{ profile_data.filesystem.read_only_paths | length }})
      {% for path in profile_data.filesystem.read_only_paths %}
    • {{ path }}
    • {% endfor %}
    Hidden Paths ({{ profile_data.filesystem.hidden_paths | length }})
      {% for path in profile_data.filesystem.hidden_paths %}
    • {{ path }}
    • {% endfor %}
    Mode
    {{ profile_data.commands.mode }}
    Shell Operators
    {% if profile_data.commands.allow_shell_operators %} Allowed {% else %} Blocked {% endif %}
    Max Execution
    {{ profile_data.commands.max_execution_seconds }}s
    {% if profile_data.commands.mode == 'whitelist' %}
    Whitelisted Commands ({{ profile_data.commands.whitelist | length }})
    {% for cmd in profile_data.commands.whitelist | sort %} {{ cmd }} {% endfor %}
    {% endif %} {% if profile_data.commands.blocked_args %}
    Blocked Argument Patterns
    {% for cmd, patterns in profile_data.commands.blocked_args.items() %}
    {{ cmd }}: {% for pattern in patterns %} {{ pattern }} {% endfor %}
    {% endfor %}
    {% endif %}
    Mode
    {% if profile_data.network.mode == 'none' %} Isolated (none) {% elif profile_data.network.mode == 'restricted' %} Restricted {% else %} Full (unrestricted) {% endif %}
    Proxy
    {{ "Enabled" if profile_data.network.enable_proxy else "Disabled" }}
    DNS Servers
    {{ profile_data.network.dns_servers | join(', ') }}
    {% if profile_data.network.allowed_domains %}
    Allowed Domains ({{ profile_data.network.allowed_domains | length }})
      {% for domain in profile_data.network.allowed_domains %}
    • {{ domain }}
    • {% endfor %}
    {% endif %} {% if profile_data.network.allowed_ports %}
    Allowed Ports
    {{ profile_data.network.allowed_ports | join(', ') }}
    {% endif %} {% if profile_data.network.blocked_cidrs %}
    Blocked CIDRs ({{ profile_data.network.blocked_cidrs | length }})
      {% for cidr in profile_data.network.blocked_cidrs %}
    • {{ cidr }}
    • {% endfor %}
    {% endif %}
    Memory
    {{ profile_data.resources.max_memory_mb }}MB
    CPU
    {{ profile_data.resources.max_cpu_percent }}%
    Max PIDs
    {{ profile_data.resources.max_pids }}
    Open Files
    {{ profile_data.resources.max_open_files }}
    Max File Size
    {{ profile_data.resources.max_file_size_mb }}MB
    Enforcement
    {% if profile_data.guardrails.enforce %} Active {% else %} Observe only {% endif %}
    {% if profile_data.guardrails.rules %}
    {% for rule in profile_data.guardrails.rules %} {% endfor %}
    Rule ID Description Severity Status
    {{ rule.id }} {{ rule.description }} {{ rule.severity }} {% if rule.enabled %} Enabled {% else %} Disabled {% endif %}
    {% else %}

    No guardrail rules configured.

    {% endif %}
    Enabled
    {% if profile_data.audit.enabled %} Yes {% else %} No {% endif %}
    Log Format
    {{ profile_data.audit.log_format }}
    Sign Entries
    {% if profile_data.audit.sign_entries %} Yes (HMAC) {% else %} No {% endif %}
    Command Output
    {{ "Logged" if profile_data.audit.include_command_output else "Not logged" }}
    File Diffs
    {{ "Logged" if profile_data.audit.include_file_diffs else "Not logged" }}
    Max Log Size
    {{ profile_data.audit.max_log_size_mb }}MB
    {{ profile_json }}
    {% endblock %} {% block scripts %} {% endblock %}