Rename password rotation report to credential rotation report

This commit is contained in:
wrongecho 2025-02-05 14:19:43 +00:00
parent a29bfc3cb5
commit 0172895e3c
2 changed files with 8 additions and 8 deletions

View File

@ -106,9 +106,9 @@
<?php } ?>
<?php if (lookupUserPermission("module_credential") >= 1) { ?>
<li class="nav-item">
<a href="report_password_rotation.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "report_password_rotation.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-life-ring"></i>
<p>Password rotation</p>
<a href="report_credential_rotation.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "report_credential_rotation.php") { echo "active"; } ?>">
<i class="nav-icon fas fa-key"></i>
<p>Credential rotation</p>
</a>
</li>
<?php } ?>

View File

@ -2,7 +2,7 @@
require_once "includes/inc_all_reports.php";
validateTechRole();
enforceUserPermission('module_credential');
// TODO: Default to 90 but allow input field to change this
if (isset($_GET['days'])) {
@ -23,7 +23,7 @@ $passwords_not_rotated_sql = mysqli_query($mysqli,
<div class="card card-dark">
<div class="card-header py-2">
<h3 class="card-title mt-2"><i class="fas fa-fw fa-life-ring mr-2"></i>Login entry passwords not changed/rotated in the last 90 days</h3>
<h3 class="card-title mt-2"><i class="fas fa-fw fa-life-ring mr-2"></i>Client credentials not changed/rotated in the last 90 days</h3>
<div class="card-tools">
<button type="button" class="btn btn-primary d-print-none" onclick="window.print();"><i class="fas fa-fw fa-print mr-2"></i>Print</button>
</div>
@ -35,9 +35,9 @@ $passwords_not_rotated_sql = mysqli_query($mysqli,
<thead>
<tr>
<th>Client</th>
<th class="text-right">Login Name</th>
<th class="text-right">Login Description</th>
<th class="text-right">Login Password Last Changed</th>
<th class="text-right">Credential Name</th>
<th class="text-right">Credential Description</th>
<th class="text-right">Credential Password Last Changed</th>
</tr>
</thead>
<tbody>