From ab12c201b46f509f024b518fdb9a5f22d36c4fb4 Mon Sep 17 00:00:00 2001 From: Sergio Garcia <38561120+sergargar@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:58:20 +0200 Subject: [PATCH] chore(docs): improve custom checks docs (#2428) --- docs/tutorials/misc.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorials/misc.md b/docs/tutorials/misc.md index b75d3ae2..802295e7 100644 --- a/docs/tutorials/misc.md +++ b/docs/tutorials/misc.md @@ -66,6 +66,12 @@ The custom checks folder must contain one subfolder per check, each subfolder mu >The check name must start with the service name followed by an underscore (e.g., ec2_instance_public_ip). To see more information about how to write checks see the [Developer Guide](../developer-guide/#create-a-new-check-for-a-provider). + +> If you want to run ONLY your custom check(s), import it with -x (--checks-folder) and then run it with -c (--checks), e.g.: +```console +prowler aws -x s3://bucket/prowler/providers/aws/services/s3/s3_bucket_policy/ -c s3_bucket_policy +``` + ## Severities Each of Prowler's checks has a severity, which can be: - informational