mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-11 23:35:07 +00:00
Fixed servicename and fail text
This commit is contained in:
@@ -17,7 +17,7 @@ CHECK_TYPE_extra7157="EXTRA"
|
|||||||
CHECK_SEVERITY_extra7157="Medium"
|
CHECK_SEVERITY_extra7157="Medium"
|
||||||
CHECK_ASFF_RESOURCE_TYPE_extra7157="AwsApiGatewayV2Api"
|
CHECK_ASFF_RESOURCE_TYPE_extra7157="AwsApiGatewayV2Api"
|
||||||
CHECK_ALTERNATE_check746="extra7157"
|
CHECK_ALTERNATE_check746="extra7157"
|
||||||
CHECK_SERVICENAME_extra7157="apigatewayv2"
|
CHECK_SERVICENAME_extra7157="apigateway"
|
||||||
CHECK_RISK_extra7157='If no authorizer is enabled anyone can use the service.'
|
CHECK_RISK_extra7157='If no authorizer is enabled anyone can use the service.'
|
||||||
CHECK_REMEDIATION_extra7157='Implement JWT or Lambda Function to control access to your API.'
|
CHECK_REMEDIATION_extra7157='Implement JWT or Lambda Function to control access to your API.'
|
||||||
CHECK_DOC_extra7157='https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-authorizers.html'
|
CHECK_DOC_extra7157='https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-authorizers.html'
|
||||||
@@ -33,7 +33,7 @@ extra7157(){
|
|||||||
if [[ $AUTHORIZER_CONFIGURED ]]; then
|
if [[ $AUTHORIZER_CONFIGURED ]]; then
|
||||||
textPass "$regx: API Gateway V2 $API_GW_NAME ID $api has authorizer configured" "$regx" "$API_GW_NAME"
|
textPass "$regx: API Gateway V2 $API_GW_NAME ID $api has authorizer configured" "$regx" "$API_GW_NAME"
|
||||||
else
|
else
|
||||||
textFail "$regx: API Gateway V2 $API_GW_NAME ID $api has not authorizer configured" "$regx" "$API_GW_NAME"
|
textFail "$regx: API Gateway V2 $API_GW_NAME ID $api has no authorizer configured" "$regx" "$API_GW_NAME"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user