Added how to add Custom Checks to README

This commit is contained in:
Toni de la Fuente
2018-01-09 15:16:54 -05:00
parent 741ff97b02
commit e04d2df953

View File

@@ -599,9 +599,9 @@ or to run just one of the checks, to see if you have S3 buckets open:
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
#5 - save changes and run it as ./prowler -c extraNN
#6 - send me a pull request! :)
- 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
- 5 - save changes and run it as ./prowler -c extraNN
- 6 - send me a pull request! :)