From dce3cb0eadc0f31a5dba342eb2638c83b3898bf8 Mon Sep 17 00:00:00 2001 From: Joaquin Rinaudo Date: Thu, 3 Sep 2020 08:08:11 +0200 Subject: [PATCH] cleanup: working --- checks/check_sample | 2 +- include/outputs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checks/check_sample b/checks/check_sample index 4d65e892..71b2b67c 100644 --- a/checks/check_sample +++ b/checks/check_sample @@ -28,7 +28,7 @@ # CHECK_TITLE_checkN="[checkN] Description (Not Scored) (Not part of CIS benchmark)" # CHECK_SCORED_checkN="NOT_SCORED" # CHECK_TYPE_checkN="EXTRA" - CHECK_SEVERITY_check="medium" +# CHECK_SEVERITY_check="Medium" # CHECK_ASFF_RESOURCE_TYPE_checkN="AwsAccount" # Choose appropriate value from https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html#asff-resources # CHECK_ALTERNATE_checkN="extraN" # diff --git a/include/outputs b/include/outputs index f439ae55..b8d6e11d 100644 --- a/include/outputs +++ b/include/outputs @@ -273,7 +273,7 @@ generateJsonAsffOutput(){ --arg AWS_PARTITION "$AWS_PARTITION" \ -n '{ "SchemaVersion": "2018-10-08", - "Id": "arn:\($AWS_PARTITION):securityhub:\($REPREGION):\($ACCOUNT_NUM):product/prowler/finding/\($TITLE_ID)-\($ACCOUNT_NUM)-\($REPREGION)-($UNIQUE_ID)", + "Id": "prowler-\($TITLE_ID)-\($ACCOUNT_NUM)-\($REPREGION)-($UNIQUE_ID)", "ProductArn": "arn:\($AWS_PARTITION):securityhub:\($REPREGION):\($ACCOUNT_NUM):product/\($ACCOUNT_NUM)/default", "ProductFields": { "ProviderName": "Prowler", @@ -296,7 +296,7 @@ generateJsonAsffOutput(){ { "Type": $RESOURCE_TYPE, "Id": "AWS::::Account:\($ACCOUNT_NUM)", - "Partition": "aws", + "Partition": $AWS_PARTITION, "Region": $REPREGION } ],