diff --git a/lib/classes/check/environment/publicpaths.php b/lib/classes/check/environment/publicpaths.php
index d015c2f0df8..49610a9a387 100644
--- a/lib/classes/check/environment/publicpaths.php
+++ b/lib/classes/check/environment/publicpaths.php
@@ -173,7 +173,7 @@ class publicpaths extends check {
$status = result::OK;
$details = '';
- $summary = '';
+ $summary = get_string('check_publicpaths_ok', 'report_security');
$errors = [];
$c = new \curl();
@@ -250,6 +250,7 @@ class publicpaths extends check {
} else {
$result = new result(result::ERROR, '', '');
$status = result::ERROR;
+ $summary = get_string('check_publicpaths_warning', 'report_security');
}
$rowdetail = isset($path['details']) ? $path['details'] : $rowsummary;
diff --git a/lib/classes/check/table.php b/lib/classes/check/table.php
index 75effc47d9f..3878b917461 100644
--- a/lib/classes/check/table.php
+++ b/lib/classes/check/table.php
@@ -118,7 +118,11 @@ class table implements \renderable {
$row[] = $output->check_result($result);
$row[] = $output->action_link($link, $check->get_name());
- $row[] = $result->get_summary();
+ $row[] = $result->get_summary()
+ . '
'
+ . \html_writer::start_tag('small')
+ . $output->action_link($link, get_string('moreinfo'))
+ . \html_writer::end_tag('small');
if ($actionlink) {
$row[] = $output->render($actionlink);
} else {
diff --git a/report/security/lang/en/report_security.php b/report/security/lang/en/report_security.php
index f28a7b91b74..4464ac8545b 100644
--- a/report/security/lang/en/report_security.php
+++ b/report/security/lang/en/report_security.php
@@ -95,6 +95,8 @@ $string['check_preventexecpath_ok'] = 'Executable paths only settable in config.
$string['check_preventexecpath_warning'] = 'Executable paths can be set in the Admin GUI.';
$string['check_preventexecpath_details'] = '
Allowing executable paths to be set via the Admin GUI is a vector for privilege escalation. This must be forced in config.php:
$CFG->preventexecpath = true;
Please verify the following list of system administrators:
{$a}';