[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the BMO Bugzilla Extension.
  #
  # The Initial Developer of the Original Code is the Mozilla Foundation
  # Portions created by the Initial Developers are Copyright (C) 2011 the
  # Initial Developer. All Rights Reserved.
  #
  # Contributor(s):
  #   David Lawrence <dkl@mozilla.com>
  #%]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]

[% IF cgi.param('incident_type') == 'stolen' %]
[% IF original_reporter -%]
Reporter: [% original_reporter.identity FILTER none %]
[%- END -%]

  [% IF cgi.param('display_action') %]
    [% IF cgi.param('display_action') == 'ldap' %]
Action needed: Please immediately reset the LDAP password for this user.
    [% ELSIF cgi.param('display_action') == 'ssh' %]
Action needed: Please immediately disable the SSH key for this user.
    [% END %]

The user reported that their mobile or laptop device has been lost or stolen.
This ticket was automatically generated from the employee incident reporting
form.  An additional ticket has been filed (see blocker bugs) for InfraSec to
review the impact of this lost device.
  [% END %]

Type of device: [% cgi.param('device') %]
Was the device encrypted?: [% cgi.param('encrypted') %]
Any user data on the device?: [% cgi.param('userdata') %]
  [% IF cgi.param('userdata') == 'Yes' %]
Sensitive data on the device:
[%+ cgi.param('sensitivedata') %]
  [% END %]
Browser configured to remember passwords?: [% cgi.param('rememberpasswords') %]
  [% IF cgi.param('rememberpasswords') == 'Yes' %]
Critical sites:
[%+ cgi.param('criticalsites') %]
  [% END %]
[% END %]
[% IF cgi.param('comment') %]
Extra Notes:
[%+ cgi.param('comment') %]
[% END %]
