This file is indexed.

/usr/share/bcfg2/Hostbase/templates/logviewer.html is in bcfg2-server 1.3.3-1ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}

{% block pagebanner %}
  <div class="header">
      <h2>Change Logs for {{ hostname }}</h2>
  </div>
  <br/>
{% endblock %}

{% block sidebar %}
{% include "navbar.tmpl" %}
{% include "logout.tmpl" %}
{% endblock %}

{% block content %}

{% if host.get_logs %}
<ul>
{% for log in host.get_logs %}
<li><a href="{{ log.id }}/">{{ log.date }}</li>
{% endfor %}
</ul>
{% else %}
There are no logs for this host<br>
{% endif %}

{% endblock %}