Spelling
This commit is contained in:
parent
2bff63b7db
commit
069c5ae917
|
@ -410,7 +410,6 @@ As of writing, these checks are missing:
|
|||
#### STARTTLS
|
||||
This program rates STARTTLS connections, exactly according to the specification. However, this program adds a grade warning about STARTTLS is being used. This is not apart of the rating specification, and limits the grade a STARTTLS connection can have, to a maximum of `A-`.
|
||||
|
||||
|
||||
#### Implementing new grades caps or -warnings
|
||||
To implement a new grading cap, simply call the `set_grade_cap()` function, with the grade and a reason:
|
||||
```bash
|
||||
|
@ -423,14 +422,14 @@ set_grade_warning "Documentation is always right"
|
|||
#### Implementing a new check which contains grade caps
|
||||
When implementing a new check (be it vulnerability or not) that sets grade caps, the `set_rating_state()` has to be updated (i.e. the `$do_mycheck` variable-name has to be added to the loop, and `$nr_enabled` if-statement has to be incremented)
|
||||
|
||||
The `set_rating_state()` automatically disables ratinng, if all the required checks are *not* enabled.
|
||||
The `set_rating_state()` automatically disables rating, if all the required checks are *not* enabled.
|
||||
This is to prevent giving out a misleading or wrong grade.
|
||||
|
||||
#### Implementing a new revision
|
||||
When a new revision of the rating specification comes around, the following has to be done:
|
||||
* New grade caps has to be either:
|
||||
1. Added to the script wherever relevant, or
|
||||
2. Added to the above list of missing checks (if *i.* is not possible)
|
||||
2. Added to the above list of missing checks (if above is not possible)
|
||||
* New grade warnings has to be added wherever relevant
|
||||
* The revision output in `run_rating()` function has to updated
|
||||
|
||||
|
|
Loading…
Reference in New Issue