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