~devcamcar/horizon/trunk

« back to all changes in this revision

Viewing changes to django-nova-syspanel/src/django_nova_syspanel/templates/django_nova_syspanel/security/index.html

  • Committer: Devin Carlen
  • Date: 2011-06-18 05:59:37 UTC
  • Revision ID: devin.carlen@gmail.com-20110618055937-aobwm0buvviijz3o
Moved codebase to GitHub

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
2
 
{% load i18n %}
3
 
 
4
 
{% block breadcrumb %}{{ block.super }}<li><a href="{% url syspanel_security %}">Security</a></li>{% endblock %}
5
 
 
6
 
{% block content %}
7
 
  <h2 class="page_heading">{% trans "Security" %}</h2>
8
 
  
9
 
  <h2>{% trans "Use the following tools to secure the cloud during a security event" %}</h2>
10
 
  
11
 
  <div id="scenerios">
12
 
    <div class="scenerio">
13
 
      <div class="description">
14
 
        <p>{% trans "<strong>Scenario:</strong> Project account credentials have been compromised." %}</p>
15
 
        <p>{% trans "<strong>Action:</strong> Disable the user or project. This should invalidate the credentials, also deny the specific port assigned to the user." %}</p>
16
 
      </div>
17
 
 
18
 
      <form id="disable_project_credentials" action="{% url syspanel_security_disable_project_credentials %}" method="post" accept-charset="utf-8">
19
 
        {% csrf_token %}
20
 
        <fieldset>
21
 
          {% for field in project_form %}
22
 
            {{ field.label_tag }}
23
 
            {% if field.errors %}{{ field.errors }}{% endif %}
24
 
            {{ field }}
25
 
          {% endfor %}
26
 
          
27
 
          <input type="submit" value="Turn off user/project" />
28
 
        </fieldset>
29
 
      </form>
30
 
    </div>
31
 
 
32
 
    <div class="scenerio">
33
 
      <div class="description">
34
 
        <p>{% trans "<strong>Scenario:</strong> The issue pin points to be coming in from a specific external ip or ip range." %}</p> 
35
 
        <p>{% trans "<strong>Action:</strong> Block the IP or IP range. This should manipulate ip tables to block the ip or ip range." %}</p>
36
 
      </div>
37
 
 
38
 
        <form id="disable_ip_range" action="{% url syspanel_security_disable_ip_range %}" method="post" accept-charset="utf-8">
39
 
          {% csrf_token %}
40
 
          <fieldset>
41
 
            {% for field in ip_form %}
42
 
              {{ field.label_tag }}
43
 
              {% if field.errors %}{{ field.errors }}{% endif %}
44
 
              {{ field }}
45
 
            {% endfor %}
46
 
 
47
 
            <input type="submit" value="Block IP Range" />
48
 
          </fieldset>
49
 
        </form>
50
 
      </div>
51
 
    </div>
52
 
 
53
 
    <div class="scenerio">
54
 
      <div class="description">
55
 
        <p>{% trans "<strong>Scenario:</strong> Issues affecting multiple public entry points or could not determine to be a specific one." %}</p> 
56
 
        <p>{% trans "<strong>Action:</strong> Disable all public IPs on all VMs. This should unplumb the device the public ip was on." %}</p>
57
 
      </div>
58
 
 
59
 
      <form action="{% url syspanel_security_disable_public_ips %}" method="post" accept-charset="utf-8">
60
 
        {% csrf_token %}
61
 
        <fieldset>
62
 
          <input name="turn_off_ips" type="submit" value="Turn off Public IPs" />
63
 
        </fieldset>
64
 
      </form>
65
 
    </div>
66
 
 
67
 
    <div class="scenerio">
68
 
      <div class="description">
69
 
        <p>{% trans "<strong>Scenario:</strong> Issue related to VPN service affecting multiple customers." %}</p> 
70
 
        <p>{% trans "<strong>Action:</strong> Disable VPN service. This should turn off the VPN ip." %}</p>
71
 
      </div>
72
 
 
73
 
      <form action="{% url syspanel_security_disable_vpn %}" method="post" accept-charset="utf-8">
74
 
        {% csrf_token %}
75
 
        <fieldset>
76
 
          <input name="block_vpn" type="submit" value="Turn off VPNs" />
77
 
        </fieldset>
78
 
      </form>
79
 
    </div>
80
 
  </div>
81
 
{% endblock %}