Skip to content

Commit 12e4ebd

Browse files
authored
Merge pull request #2948 from testssl/ratingdoc_update
Update docs after raiting only switch
2 parents ae48b68 + c9a886c commit 12e4ebd

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

doc/testssl.1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" Automatically generated by Pandoc 3.8.1
1+
.\" Automatically generated by Pandoc 3.8.2.1
22
.\"
33
.TH "" "" "" ""
44
.SS NAME
@@ -436,6 +436,10 @@ Internally they will be added during runtime to all CA stores.
436436
This is (only) useful for internal hosts whose certificates are issued
437437
by internal CAs.
438438
Alternatively ADDTL_CA_FILES is the environment variable for this.
439+
.PP
440+
\f[CR]\-\-rating\-only\f[R] makes testssl.sh do the bare minimum to
441+
allow rating to succeed.
442+
See RATING for more
439443
.SS SINGLE CHECK OPTIONS
440444
Any single check switch supplied as an argument prevents testssl.sh from
441445
doing a default run.
@@ -1258,7 +1262,9 @@ set_grade_warning \(dqDocumentation is always right\(dq
12581262
When implementing a new check (be it vulnerability or not) that sets
12591263
grade caps, the \f[CR]set_rating_state()\f[R] has to be updated
12601264
(i.e.\ the \f[CR]$do_mycheck\f[R] variable\-name has to be added to the
1261-
loop, and \f[CR]$nr_enabled\f[R] if\-statement has to be incremented)
1265+
loop, and \f[CR]$nr_enabled\f[R] if\-statement has to be incremented),
1266+
and the \f[CR]\-\-rating\-only\f[R] switch statement needs to have
1267+
\f[CR]$do_mycheck=true\f[R] added
12621268
.PP
12631269
The \f[CR]set_rating_state()\f[R] automatically disables rating, if all
12641270
the required checks are \f[I]not\f[R] enabled.

doc/testssl.1.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ <h3 id="tuning-options">TUNING OPTIONS</h3>
413413
hosts whose certificates are issued by internal CAs.
414414
Alternatively ADDTL_CA_FILES is the environment variable for
415415
this.</p>
416+
<p><code>--rating-only</code> makes testssl.sh do the bare
417+
minimum to allow rating to succeed. See RATING for more</p>
416418
<h3 id="single-check-options">SINGLE CHECK OPTIONS</h3>
417419
<p>Any single check switch supplied as an argument prevents
418420
testssl.sh from doing a default run. It just takes this and if
@@ -1089,7 +1091,9 @@ <h4 id="implementing-new-grades-caps-or--warnings">Implementing
10891091
that sets grade caps, the <code>set_rating_state()</code> has to
10901092
be updated (i.e. the <code>$do_mycheck</code> variable-name has
10911093
to be added to the loop, and <code>$nr_enabled</code>
1092-
if-statement has to be incremented)</p>
1094+
if-statement has to be incremented), and the
1095+
<code>--rating-only</code> switch statement needs to have
1096+
<code>$do_mycheck=true</code> added</p>
10931097
<p>The <code>set_rating_state()</code> automatically disables
10941098
rating, if all the required checks are <em>not</em> enabled.
10951099
This is to prevent giving out a misleading or wrong grade.</p>

0 commit comments

Comments
 (0)