mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
Added how to add Custom Checks to README
This commit is contained in:
10
README.md
10
README.md
@@ -599,7 +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
|
||||
#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! :)
|
||||
|
||||
Reference in New Issue
Block a user