From d185902c8600fd2565a5b1fdf0a2233235ca39ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20De=20la=20Torre=20Vico?= Date: Mon, 6 Jan 2025 16:25:00 +0100 Subject: [PATCH] docs: add new format CloudFormation for ResourceType in check metadata (#6353) Co-authored-by: Sergio Garcia --- docs/developer-guide/checks.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/developer-guide/checks.md b/docs/developer-guide/checks.md index a48545bb34..058eae2b42 100644 --- a/docs/developer-guide/checks.md +++ b/docs/developer-guide/checks.md @@ -279,6 +279,9 @@ Each Prowler check has metadata associated which is stored at the same level of "Severity": "critical", # ResourceType only for AWS, holds the type from here # https://docs.aws.amazon.com/securityhub/latest/userguide/asff-resources.html + # In case of not existing, use CloudFormation type but removing the "::" and using capital letters only at the beginning of each word. Example: "AWS::EC2::Instance" -> "AwsEc2Instance" + # CloudFormation type reference: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html + # If the resource type does not exist in the CloudFormation types, use "Other". "ResourceType": "Other", # Description holds the title of the check, for now is the same as CheckTitle "Description": "Ensure there are no EC2 AMIs set as Public.",