Added how to add Custom Checks

This commit is contained in:
Toni de la Fuente
2018-01-09 15:13:12 -05:00
parent e5c65fd523
commit dc6b1dd915

View File

@@ -9,6 +9,7 @@
- [Screenshots](#screenshots)
- [Troubleshooting](#troubleshooting)
- [Extras](#extras)
- [Add custom checks](#custom checks)
## Description
@@ -593,3 +594,12 @@ or to run just one of the checks, to see if you have S3 buckets open:
```
./prowler -c extraNUMBER
```
## Custom Checks
In order to add any new check feel free to create a new extra check in the extras section.
To do so, you will need to follow this steps:
1 - use any existing extra check as reference
2 - add `ID7N` and `TITLE7N`, where N is a new check number part of the extras section (7) around line 361 `# List of checks IDs and Titles`
3 - add your new extra check function name at `callCheck` function (around line 1817) and below in that case inside extras option (around line 1853)
4 - finally add it in `# List only check tittles` around line 1930