From f9b985e03d519eb3b71565ba3f8f413102fbaf34 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Jan 2023 10:39:49 +0100 Subject: [PATCH] feat(regions_update): Changes in regions for AWS services. (#1761) Co-authored-by: sergargar --- .../providers/aws/aws_regions_by_service.json | 393 +++++++++++------- tests/config/config_test.py | 2 +- 2 files changed, 236 insertions(+), 159 deletions(-) diff --git a/prowler/providers/aws/aws_regions_by_service.json b/prowler/providers/aws/aws_regions_by_service.json index f0cdfe44..67498641 100644 --- a/prowler/providers/aws/aws_regions_by_service.json +++ b/prowler/providers/aws/aws_regions_by_service.json @@ -7,16 +7,16 @@ "ap-northeast-1", "ap-south-1", "ap-southeast-1", - "ap-southeast-3", + "ap-southeast-4", "eu-central-1", "eu-west-2", "me-central-1", "us-west-2", "af-south-1", "ap-southeast-2", + "ap-southeast-3", "eu-central-2", "eu-north-1", - "eu-west-1", "eu-west-3", "me-south-1", "us-east-1", @@ -27,8 +27,9 @@ "ca-central-1", "eu-south-1", "eu-south-2", - "sa-east-1", - "us-west-1" + "eu-west-1", + "us-west-1", + "sa-east-1" ], "aws-cn": [ "cn-north-1", @@ -43,8 +44,8 @@ "account": { "regions": { "aws": [ - "af-south-1", "ap-east-1", + "ap-southeast-4", "eu-central-1", "eu-south-2", "eu-west-2", @@ -52,13 +53,13 @@ "me-central-1", "us-east-2", "us-west-1", + "af-south-1", "ap-northeast-1", "ap-northeast-3", "ap-south-1", "eu-central-2", "eu-north-1", "eu-west-1", - "me-south-1", "sa-east-1", "us-east-1", "ap-northeast-2", @@ -68,6 +69,7 @@ "ap-southeast-3", "ca-central-1", "eu-south-1", + "me-south-1", "us-west-2" ], "aws-cn": [ @@ -105,7 +107,8 @@ "eu-central-2", "eu-north-1", "me-central-1", - "us-east-2" + "us-east-2", + "ap-southeast-4" ], "aws-cn": [ "cn-north-1", @@ -318,15 +321,16 @@ "eu-west-2", "me-central-1", "us-east-2", - "ap-south-1", "ap-south-2", "ap-southeast-1", + "ap-southeast-4", "ca-central-1", "eu-central-2", "eu-west-3", "me-south-1", "us-west-1", - "us-west-2" + "us-west-2", + "ap-south-1" ], "aws-cn": [ "cn-northwest-1", @@ -418,16 +422,17 @@ "us-east-1", "us-west-1", "us-west-2", - "ap-east-1", "ap-northeast-1", "ap-south-1", "ap-south-2", + "ap-southeast-4", "eu-central-1", "eu-central-2", "eu-south-2", "eu-west-2", "me-central-1", "sa-east-1", + "ap-east-1", "ap-northeast-2", "ap-northeast-3", "eu-north-1", @@ -765,6 +770,7 @@ "ap-northeast-1", "ap-northeast-3", "ap-south-2", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-west-1", @@ -876,12 +882,13 @@ "us-east-2", "ap-south-1", "ap-south-2", - "ap-southeast-3", + "ap-southeast-4", "eu-central-1", "eu-north-1", "eu-south-2", "us-west-1", - "us-west-2" + "us-west-2", + "ap-southeast-3" ], "aws-cn": [ "cn-north-1", @@ -918,6 +925,7 @@ "ap-northeast-1", "ap-south-1", "ap-southeast-2", + "ap-southeast-4", "eu-west-1", "eu-west-3", "us-west-1", @@ -928,8 +936,8 @@ "cn-northwest-1" ], "aws-us-gov": [ - "us-gov-east-1", - "us-gov-west-1" + "us-gov-west-1", + "us-gov-east-1" ] } }, @@ -1360,12 +1368,11 @@ "aws": [ "ap-south-2", "ap-southeast-2", + "ap-southeast-4", "eu-central-2", "eu-south-2", "eu-west-2", "me-central-1", - "us-east-2", - "af-south-1", "ap-east-1", "ap-northeast-1", "ap-south-1", @@ -1373,8 +1380,9 @@ "ca-central-1", "eu-central-1", "eu-west-3", + "us-east-2", "us-west-2", - "ap-northeast-2", + "af-south-1", "ap-northeast-3", "ap-southeast-1", "eu-north-1", @@ -1383,7 +1391,8 @@ "me-south-1", "sa-east-1", "us-east-1", - "us-west-1" + "us-west-1", + "ap-northeast-2" ], "aws-cn": [ "cn-north-1", @@ -1400,22 +1409,22 @@ "aws": [ "ap-east-1", "ap-south-2", + "ap-southeast-4", "ca-central-1", "eu-central-1", "eu-south-2", "eu-west-3", "sa-east-1", - "us-east-1", "us-east-2", "us-west-2", "ap-south-1", "ap-southeast-1", "ap-southeast-3", - "eu-north-1", "eu-west-1", "eu-west-2", "me-central-1", "me-south-1", + "us-east-1", "us-west-1", "af-south-1", "ap-northeast-1", @@ -1423,6 +1432,7 @@ "ap-northeast-3", "ap-southeast-2", "eu-central-2", + "eu-north-1", "eu-south-1" ], "aws-cn": [ @@ -1521,21 +1531,22 @@ "us-west-2", "ap-northeast-3", "ap-south-2", - "ap-southeast-2", "ap-southeast-3", + "ap-southeast-4", "ca-central-1", "eu-south-1", "eu-west-1", "us-east-2", "ap-south-1", "ap-southeast-1", - "eu-central-1", + "ap-southeast-2", "eu-central-2", "eu-north-1", "eu-west-2", "me-south-1", "us-east-1", - "us-west-1" + "us-west-1", + "eu-central-1" ], "aws-cn": [ "cn-north-1", @@ -1570,12 +1581,13 @@ "ap-south-1", "ap-southeast-1", "ap-southeast-2", + "ap-southeast-4", "eu-central-1", "eu-south-1", "eu-south-2", "eu-west-1", - "eu-west-2", - "eu-west-3" + "eu-west-3", + "eu-west-2" ], "aws-cn": [ "cn-north-1", @@ -1694,9 +1706,9 @@ "aws": [ "af-south-1", "ap-east-1", - "ap-south-1", "ap-southeast-1", "ap-southeast-2", + "ap-southeast-4", "ca-central-1", "eu-south-1", "me-south-1", @@ -1704,20 +1716,21 @@ "us-west-2", "ap-northeast-2", "ap-northeast-3", + "ap-south-1", "eu-central-2", "eu-west-1", "eu-west-2", "me-central-1", "sa-east-1", - "us-east-2", "ap-northeast-1", "ap-south-2", - "ap-southeast-3", "eu-central-1", "eu-north-1", "eu-south-2", "eu-west-3", - "us-east-1" + "us-east-1", + "us-east-2", + "ap-southeast-3" ], "aws-cn": [ "cn-north-1", @@ -2029,13 +2042,14 @@ "ap-northeast-1", "ap-northeast-3", "ap-south-2", - "ap-southeast-1", "ap-southeast-3", + "ap-southeast-4", "ca-central-1", "eu-north-1", "eu-west-2", "us-west-2", "af-south-1", + "ap-southeast-1", "ap-southeast-2", "eu-central-2", "eu-south-2", @@ -2421,7 +2435,7 @@ "ap-northeast-3", "ap-south-1", "ap-south-2", - "eu-central-1", + "ap-southeast-4", "eu-south-1", "eu-south-2", "eu-west-1", @@ -2429,11 +2443,12 @@ "ap-northeast-1", "ap-southeast-2", "ca-central-1", + "eu-central-1", "eu-west-2", "eu-west-3", "me-central-1", - "me-south-1", - "us-east-1" + "us-east-1", + "me-south-1" ], "aws-cn": [ "cn-northwest-1", @@ -2474,12 +2489,13 @@ "us-east-1", "ap-northeast-2", "ap-south-1", - "ap-southeast-2", + "ap-southeast-4", "eu-west-2", "me-south-1", "sa-east-1", "us-east-2", "us-west-2", + "ap-southeast-2", "ap-southeast-3", "eu-central-1", "eu-north-1", @@ -2510,8 +2526,8 @@ "sa-east-1", "us-east-1", "ap-northeast-2", - "ap-south-2", "ap-southeast-1", + "ap-southeast-4", "eu-central-1", "eu-south-1", "eu-west-2", @@ -2523,6 +2539,7 @@ "ap-northeast-1", "ap-northeast-3", "ap-south-1", + "ap-south-2", "ca-central-1", "eu-north-1", "us-west-2" @@ -2637,7 +2654,7 @@ "aws": [ "ap-south-2", "ap-southeast-3", - "ca-central-1", + "ap-southeast-4", "eu-central-1", "eu-central-2", "eu-north-1", @@ -2646,7 +2663,7 @@ "ap-east-1", "ap-northeast-1", "ap-northeast-2", - "ap-southeast-2", + "ca-central-1", "eu-south-2", "eu-west-1", "me-central-1", @@ -2656,11 +2673,12 @@ "ap-northeast-3", "ap-south-1", "ap-southeast-1", + "ap-southeast-2", "eu-south-1", - "eu-west-3", "sa-east-1", "us-east-1", - "us-west-1" + "us-west-1", + "eu-west-3" ], "aws-cn": [ "cn-north-1", @@ -2696,11 +2714,12 @@ "us-east-1", "ap-northeast-1", "ap-south-2", + "ap-southeast-4", "eu-central-2", "eu-north-1", - "eu-west-1", "us-west-1", - "us-west-2" + "us-west-2", + "eu-west-1" ], "aws-cn": [ "cn-north-1", @@ -2719,6 +2738,7 @@ "ap-northeast-1", "ap-northeast-3", "ap-southeast-1", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-south-2", @@ -2728,7 +2748,6 @@ "ap-southeast-3", "ca-central-1", "eu-central-1", - "eu-west-2", "me-central-1", "sa-east-1", "us-east-2", @@ -2736,11 +2755,12 @@ "af-south-1", "ap-northeast-2", "ap-south-1", - "ap-southeast-2", "eu-central-2", + "eu-west-2", "eu-west-3", "us-east-1", - "us-west-2" + "us-west-2", + "ap-southeast-2" ], "aws-cn": [ "cn-north-1", @@ -2768,19 +2788,20 @@ "ap-east-1", "ap-northeast-2", "ap-south-2", + "ap-southeast-4", "eu-south-1", - "eu-south-2", "us-east-1", "us-east-2", "us-west-2", "ap-southeast-1", "ap-southeast-3", "ca-central-1", - "eu-central-1", "eu-central-2", + "eu-south-2", "eu-west-1", "me-south-1", - "us-west-1" + "us-west-1", + "eu-central-1" ], "aws-cn": [ "cn-north-1", @@ -2815,12 +2836,13 @@ "us-east-2", "us-west-1", "af-south-1", - "ap-northeast-2", + "ap-southeast-4", "eu-central-1", "eu-north-1", "eu-south-2", "us-east-1", - "us-west-2" + "us-west-2", + "ap-northeast-2" ], "aws-cn": [ "cn-north-1", @@ -2856,14 +2878,15 @@ "eu-west-3", "us-east-2", "ap-east-1", - "ap-northeast-3", "ap-south-1", "ap-southeast-2", + "ap-southeast-4", "eu-central-2", "us-east-1", "us-west-1", "af-south-1", "ap-northeast-2", + "ap-northeast-3", "eu-central-1", "eu-west-1", "eu-west-2", @@ -2987,6 +3010,7 @@ "me-central-1", "ap-east-1", "ap-southeast-2", + "ap-southeast-4", "ca-central-1", "eu-north-1", "eu-west-2", @@ -2994,21 +3018,21 @@ "us-east-1", "ap-northeast-2", "ap-northeast-3", - "eu-central-1", "eu-south-1", "eu-west-3", "me-south-1", "us-east-2", "us-west-1", - "us-west-2" + "us-west-2", + "eu-central-1" ], "aws-cn": [ "cn-northwest-1", "cn-north-1" ], "aws-us-gov": [ - "us-gov-east-1", - "us-gov-west-1" + "us-gov-west-1", + "us-gov-east-1" ] } }, @@ -3067,8 +3091,8 @@ "elb": { "regions": { "aws": [ - "ap-northeast-1", "ap-south-2", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-west-2", @@ -3076,6 +3100,7 @@ "me-south-1", "us-east-2", "us-west-2", + "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", @@ -3085,14 +3110,14 @@ "eu-west-1", "eu-west-3", "sa-east-1", - "us-east-1", "af-south-1", "ap-east-1", "ap-southeast-1", - "ap-southeast-2", "ca-central-1", "eu-south-2", - "us-west-1" + "us-east-1", + "us-west-1", + "ap-southeast-2" ], "aws-cn": [ "cn-north-1", @@ -3107,8 +3132,8 @@ "elbv2": { "regions": { "aws": [ - "ap-northeast-1", "ap-south-2", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-west-2", @@ -3116,6 +3141,7 @@ "me-south-1", "us-east-2", "us-west-2", + "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", @@ -3125,14 +3151,14 @@ "eu-west-1", "eu-west-3", "sa-east-1", - "us-east-1", "af-south-1", "ap-east-1", "ap-southeast-1", - "ap-southeast-2", "ca-central-1", "eu-south-2", - "us-west-1" + "us-east-1", + "us-west-1", + "ap-southeast-2" ], "aws-cn": [ "cn-north-1", @@ -3148,9 +3174,9 @@ "regions": { "aws": [ "af-south-1", - "ap-south-2", "ap-southeast-1", "ap-southeast-3", + "ap-southeast-4", "ca-central-1", "eu-north-1", "me-central-1", @@ -3158,7 +3184,7 @@ "sa-east-1", "us-west-2", "ap-northeast-3", - "ap-southeast-2", + "ap-south-2", "eu-central-1", "eu-central-2", "eu-west-1", @@ -3168,11 +3194,12 @@ "ap-northeast-1", "ap-northeast-2", "ap-south-1", + "ap-southeast-2", "eu-south-1", "eu-south-2", "us-east-1", - "us-east-2", - "us-west-1" + "us-west-1", + "us-east-2" ], "aws-cn": [ "cn-north-1", @@ -3241,6 +3268,7 @@ "ap-east-1", "ap-south-1", "ap-southeast-2", + "ap-southeast-4", "eu-south-1", "eu-south-2", "eu-west-3", @@ -3253,21 +3281,21 @@ "eu-central-2", "eu-north-1", "eu-west-1", - "us-east-1", "us-east-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-1", - "ap-southeast-3", "eu-west-2", "me-central-1", "me-south-1", - "sa-east-1" + "sa-east-1", + "us-east-1", + "ap-southeast-3" ], "aws-cn": [ - "cn-north-1", - "cn-northwest-1" + "cn-northwest-1", + "cn-north-1" ], "aws-us-gov": [ "us-gov-west-1", @@ -3303,7 +3331,8 @@ "eu-central-2", "eu-south-1", "eu-south-2", - "us-west-1" + "us-west-1", + "ap-southeast-4" ], "aws-cn": [ "cn-north-1", @@ -3320,26 +3349,27 @@ "aws": [ "ap-east-1", "ap-northeast-1", - "ap-northeast-3", "ap-south-2", "ap-southeast-2", "ap-southeast-3", + "ap-southeast-4", "ca-central-1", "eu-west-1", "eu-west-2", "us-west-1", "ap-northeast-2", + "ap-northeast-3", "ap-south-1", "ap-southeast-1", "eu-central-1", "eu-central-2", "eu-north-1", - "eu-south-2", "me-south-1", "us-east-1", "us-west-2", "af-south-1", "eu-south-1", + "eu-south-2", "eu-west-3", "me-central-1", "sa-east-1", @@ -3396,11 +3426,12 @@ "ap-northeast-1", "ap-northeast-3", "ap-south-1", - "ap-southeast-2", + "ap-southeast-4", "eu-west-3", "me-central-1", "us-east-2", - "us-west-1" + "us-west-1", + "ap-southeast-2" ], "aws-cn": [ "cn-north-1", @@ -4092,12 +4123,13 @@ "ap-northeast-2", "ap-northeast-3", "ap-south-1", + "ap-southeast-4", "eu-central-2", "eu-south-1", - "eu-west-1", "eu-west-3", "sa-east-1", - "us-east-1" + "us-east-1", + "eu-west-1" ], "aws-cn": [ "cn-north-1", @@ -4725,8 +4757,8 @@ "kinesis": { "regions": { "aws": [ + "ap-southeast-4", "ca-central-1", - "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -4734,23 +4766,24 @@ "sa-east-1", "us-east-1", "us-west-2", - "af-south-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-2", "eu-central-2", + "eu-north-1", "eu-south-2", "us-east-2", + "af-south-1", "ap-east-1", "ap-south-2", "ap-southeast-1", - "ap-southeast-3", "eu-central-1", "eu-south-1", "me-south-1", - "us-west-1" + "us-west-1", + "ap-southeast-3" ], "aws-cn": [ "cn-northwest-1", @@ -4832,6 +4865,7 @@ "ap-south-2", "ap-southeast-1", "ap-southeast-3", + "ap-southeast-4", "eu-central-2", "eu-west-1", "us-east-1", @@ -4847,12 +4881,12 @@ "ap-northeast-3", "ca-central-1", "eu-north-1", - "eu-south-1", "eu-west-2", "eu-west-3", "me-central-1", "us-west-1", - "us-west-2" + "us-west-2", + "eu-south-1" ], "aws-cn": [ "cn-north-1", @@ -4906,10 +4940,10 @@ "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", + "ap-southeast-4", "eu-south-2", "eu-west-2", "me-central-1", - "me-south-1", "us-east-1", "ap-east-1", "ap-northeast-1", @@ -4917,17 +4951,18 @@ "eu-central-2", "eu-north-1", "eu-south-1", - "eu-west-3", + "me-south-1", "us-east-2", "us-west-2", - "af-south-1", "ap-northeast-3", "ap-south-2", "ca-central-1", "eu-central-1", "eu-west-1", + "eu-west-3", "sa-east-1", - "us-west-1" + "us-west-1", + "af-south-1" ], "aws-cn": [ "cn-north-1", @@ -5111,8 +5146,8 @@ "regions": { "aws": [ "ap-northeast-2", - "ap-northeast-3", "ap-southeast-3", + "ap-southeast-4", "eu-central-1", "eu-south-2", "eu-west-2", @@ -5121,21 +5156,22 @@ "us-east-2", "af-south-1", "ap-northeast-1", + "ap-northeast-3", "ap-south-1", "ap-southeast-2", "eu-central-2", "eu-south-1", "eu-west-1", - "me-central-1", "us-west-1", - "ap-east-1", "ap-south-2", "ap-southeast-1", "ca-central-1", "eu-north-1", "eu-west-3", + "me-central-1", "sa-east-1", - "us-west-2" + "us-west-2", + "ap-east-1" ], "aws-cn": [ "cn-northwest-1", @@ -5376,12 +5412,13 @@ "ap-east-1", "ap-south-1", "ap-south-2", - "ap-southeast-2", + "ap-southeast-4", "eu-central-1", "eu-north-1", "eu-south-1", "eu-west-2", - "eu-west-3" + "eu-west-3", + "ap-southeast-2" ], "aws-cn": [ "cn-northwest-1", @@ -5661,23 +5698,24 @@ "ap-east-1", "ap-northeast-1", "ap-southeast-2", + "ap-southeast-4", "eu-west-3", "us-east-1", "us-east-2", "us-west-1", - "us-west-2", "ap-northeast-2", "ap-south-1", "ap-south-2", "ap-southeast-3", - "ca-central-1", "eu-central-1", "eu-central-2", "eu-south-2", "eu-west-2", "me-central-1", + "us-west-2", "ap-northeast-3", "ap-southeast-1", + "ca-central-1", "eu-north-1", "eu-south-1", "eu-west-1", @@ -6001,6 +6039,7 @@ "ap-northeast-1", "ap-south-2", "ap-southeast-3", + "ap-southeast-4", "eu-north-1", "eu-west-3", "me-central-1" @@ -6029,6 +6068,7 @@ "ap-east-1", "ap-south-1", "ap-southeast-2", + "ap-southeast-4", "eu-south-1", "eu-south-2", "eu-west-3", @@ -6041,21 +6081,21 @@ "eu-central-2", "eu-north-1", "eu-west-1", - "us-east-1", "us-east-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-1", - "ap-southeast-3", "eu-west-2", "me-central-1", "me-south-1", - "sa-east-1" + "sa-east-1", + "us-east-1", + "ap-southeast-3" ], "aws-cn": [ - "cn-north-1", - "cn-northwest-1" + "cn-northwest-1", + "cn-north-1" ], "aws-us-gov": [ "us-gov-west-1", @@ -6164,21 +6204,22 @@ "us-west-1", "ap-northeast-3", "ap-southeast-1", + "ap-southeast-4", "ca-central-1", "eu-central-2", "eu-north-1", - "eu-west-2", "us-east-1", "us-east-2", - "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "eu-west-1", + "eu-west-2", "eu-west-3", "me-central-1", "sa-east-1", - "us-west-2" + "us-west-2", + "af-south-1" ], "aws-cn": [ "cn-north-1", @@ -6280,13 +6321,14 @@ "us-east-2", "us-west-1", "ap-northeast-1", - "ap-south-1", "ap-southeast-2", + "ap-southeast-4", "eu-north-1", "eu-south-2", "eu-west-1", "eu-west-2", - "us-west-2" + "us-west-2", + "ap-south-1" ], "aws-cn": [ "cn-north-1", @@ -6322,6 +6364,7 @@ "ap-east-1", "ap-northeast-1", "ap-northeast-2", + "ap-southeast-4", "eu-central-1", "me-south-1", "us-east-1", @@ -6505,10 +6548,11 @@ "af-south-1", "ap-northeast-1", "ap-south-2", + "ap-southeast-4", "eu-north-1", "eu-west-1", - "me-central-1", - "us-east-1" + "us-east-1", + "me-central-1" ], "aws-cn": [ "cn-north-1", @@ -6677,6 +6721,7 @@ "us-west-1", "ap-south-2", "ap-southeast-1", + "ap-southeast-4", "eu-west-1", "eu-west-2", "me-south-1", @@ -6688,8 +6733,8 @@ "cn-northwest-1" ], "aws-us-gov": [ - "us-gov-east-1", - "us-gov-west-1" + "us-gov-west-1", + "us-gov-east-1" ] } }, @@ -6706,22 +6751,23 @@ "us-east-1", "us-east-2", "af-south-1", + "ap-southeast-4", "eu-south-1", "eu-west-1", "eu-west-3", "me-central-1", "me-south-1", "us-west-1", - "us-west-2", "ap-northeast-1", "ap-northeast-3", "ap-south-1", "ap-south-2", - "ap-southeast-2", "eu-central-1", "eu-north-1", "eu-south-2", - "eu-west-2" + "eu-west-2", + "us-west-2", + "ap-southeast-2" ], "aws-cn": [ "cn-northwest-1", @@ -6787,6 +6833,7 @@ "us-east-1", "ap-northeast-3", "ap-southeast-3", + "ap-southeast-4", "ca-central-1", "eu-central-1", "eu-north-1", @@ -6920,6 +6967,7 @@ "regions": { "aws": [ "ap-south-1", + "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", @@ -6930,18 +6978,21 @@ "us-west-2", "ap-northeast-1", "ap-northeast-2", + "ap-southeast-4", "eu-north-1", - "eu-west-3", + "eu-south-2", "sa-east-1", - "us-east-1", "us-east-2", "us-west-1", "af-south-1", "ap-east-1", - "ap-northeast-3", "eu-central-1", + "eu-central-2", "eu-west-1", - "eu-west-2" + "eu-west-2", + "eu-west-3", + "us-east-1", + "ap-northeast-3" ], "aws-cn": [ "cn-northwest-1", @@ -6969,23 +7020,24 @@ "ap-east-1", "ap-northeast-3", "ap-south-2", + "ap-southeast-4", "eu-central-1", "eu-south-1", "eu-south-2", "me-central-1", "me-south-1", - "us-east-2", "ap-northeast-1", "ap-southeast-2", "ap-southeast-3", "ca-central-1", "eu-north-1", "eu-west-3", + "us-east-2", "us-west-1" ], "aws-cn": [ - "cn-north-1", - "cn-northwest-1" + "cn-northwest-1", + "cn-north-1" ], "aws-us-gov": [ "us-gov-east-1", @@ -7086,13 +7138,14 @@ "ap-northeast-2", "ap-south-2", "ap-southeast-1", - "ap-southeast-2", "ap-southeast-3", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-south-2", "eu-west-3", "ap-northeast-1", + "ap-southeast-2", "ca-central-1", "me-central-1", "me-south-1", @@ -7192,14 +7245,15 @@ "us-east-1", "af-south-1", "ap-northeast-2", - "ca-central-1", + "ap-southeast-4", "eu-central-2", "eu-north-1", "eu-south-1", "eu-west-1", "me-south-1", "us-east-2", - "us-west-2" + "us-west-2", + "ca-central-1" ], "aws-cn": [ "cn-north-1", @@ -7495,10 +7549,10 @@ "ap-south-1", "ap-southeast-2", "ap-southeast-3", + "ap-southeast-4", "eu-central-1", "eu-north-1", "eu-south-2", - "eu-west-1", "me-central-1", "us-east-2", "us-west-2", @@ -7506,10 +7560,11 @@ "ap-northeast-2", "ap-south-2", "ca-central-1", - "eu-south-1", + "eu-west-1", "eu-west-2", "sa-east-1", - "us-west-1" + "us-west-1", + "eu-south-1" ], "aws-cn": [ "cn-northwest-1", @@ -8017,10 +8072,10 @@ "me-south-1", "ap-south-1", "ap-southeast-3", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-south-2", - "eu-west-2", "sa-east-1", "us-east-1", "us-west-1", @@ -8028,10 +8083,11 @@ "ap-northeast-1", "ap-northeast-3", "ap-south-2", - "ca-central-1", "eu-west-1", + "eu-west-2", "us-east-2", - "us-west-2" + "us-west-2", + "ca-central-1" ], "aws-cn": [ "cn-north-1", @@ -8049,13 +8105,14 @@ "af-south-1", "ap-east-1", "ap-northeast-2", - "ap-south-2", "ap-southeast-1", "ap-southeast-3", + "ap-southeast-4", "eu-west-3", "us-east-2", "us-west-1", "ap-south-1", + "ap-south-2", "ca-central-1", "eu-central-2", "eu-south-2", @@ -8069,9 +8126,9 @@ "ap-southeast-2", "eu-central-1", "eu-north-1", - "eu-south-1", "sa-east-1", - "us-west-2" + "us-west-2", + "eu-south-1" ], "aws-cn": [ "cn-north-1", @@ -8086,9 +8143,9 @@ "ssm": { "regions": { "aws": [ - "ap-northeast-2", "ap-south-2", "ap-southeast-2", + "ap-southeast-4", "eu-south-2", "eu-west-2", "me-central-1", @@ -8096,13 +8153,13 @@ "us-east-2", "us-west-1", "ap-east-1", + "ap-northeast-2", "ap-northeast-3", "ap-southeast-1", "ca-central-1", "eu-central-1", "eu-north-1", "me-south-1", - "us-east-1", "af-south-1", "ap-northeast-1", "ap-south-1", @@ -8110,8 +8167,9 @@ "eu-central-2", "eu-south-1", "eu-west-1", - "eu-west-3", - "us-west-2" + "us-east-1", + "us-west-2", + "eu-west-3" ], "aws-cn": [ "cn-northwest-1", @@ -8292,10 +8350,11 @@ "ap-east-1", "ap-northeast-1", "ap-northeast-3", - "ap-south-2", "ap-southeast-3", + "ap-southeast-4", "eu-north-1", - "us-west-1" + "us-west-1", + "ap-south-2" ], "aws-cn": [ "cn-northwest-1", @@ -8367,12 +8426,13 @@ "us-east-2", "ap-east-1", "ap-northeast-1", - "ap-northeast-2", + "ap-southeast-4", "eu-north-1", "eu-south-1", "eu-west-3", "me-central-1", - "us-west-2" + "us-west-2", + "ap-northeast-2" ], "aws-cn": [ "cn-north-1", @@ -8413,13 +8473,12 @@ "aws": [ "ap-northeast-1", "ap-northeast-2", + "ap-southeast-4", "ca-central-1", "eu-central-2", "eu-south-1", "sa-east-1", - "us-east-2", "us-west-1", - "ap-east-1", "ap-northeast-3", "ap-south-1", "ap-southeast-1", @@ -8429,14 +8488,16 @@ "me-central-1", "me-south-1", "us-east-1", + "us-east-2", "af-south-1", + "ap-east-1", "ap-south-2", - "eu-central-1", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", - "us-west-2" + "us-west-2", + "eu-central-1" ], "aws-cn": [ "cn-north-1", @@ -8482,12 +8543,13 @@ "us-west-1", "af-south-1", "ap-northeast-2", + "ap-southeast-4", "eu-south-2", "eu-west-1", "eu-west-3", - "me-central-1", "us-east-1", - "us-west-2" + "us-west-2", + "me-central-1" ], "aws-cn": [ "cn-north-1", @@ -8514,20 +8576,21 @@ "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", - "ap-southeast-3", + "ap-southeast-4", "eu-central-2", "eu-west-1", "eu-west-3", "me-south-1", "sa-east-1", - "af-south-1", "ap-northeast-1", "ap-south-1", "ap-south-2", + "ap-southeast-3", "eu-central-1", "me-central-1", "us-west-1", - "us-west-2" + "us-west-2", + "af-south-1" ], "aws-cn": [ "cn-northwest-1", @@ -8759,11 +8822,12 @@ "aws": [ "ap-south-1", "ap-southeast-1", + "ap-southeast-4", "eu-central-1", "eu-north-1", - "eu-south-2", "eu-west-1", "eu-west-3", + "me-central-1", "me-south-1", "us-east-1", "ap-east-1", @@ -8773,6 +8837,7 @@ "ca-central-1", "eu-central-2", "eu-south-1", + "eu-south-2", "us-west-1", "af-south-1", "ap-northeast-3", @@ -8854,9 +8919,9 @@ "us-east-1", "us-west-1", "ap-northeast-3", + "ap-southeast-4", "eu-central-1", "eu-central-2", - "eu-south-2", "eu-west-3", "us-east-2", "us-west-2", @@ -8864,11 +8929,12 @@ "ap-northeast-2", "ap-south-2", "ca-central-1", + "eu-south-2", "eu-west-1", "eu-west-2", - "me-central-1", "me-south-1", - "sa-east-1" + "sa-east-1", + "me-central-1" ], "aws-cn": [ "cn-north-1", @@ -8886,9 +8952,9 @@ "af-south-1", "ap-south-2", "ap-southeast-2", + "ap-southeast-4", "eu-central-1", "eu-north-1", - "eu-south-1", "eu-south-2", "eu-west-3", "us-west-2", @@ -8898,6 +8964,7 @@ "ap-northeast-3", "ap-southeast-1", "ap-southeast-3", + "eu-south-1", "eu-west-2", "me-south-1", "us-east-2", @@ -9070,6 +9137,15 @@ ] } }, + "wickr": { + "regions": { + "aws": [ + "us-east-1" + ], + "aws-cn": [], + "aws-us-gov": [] + } + }, "wisdom": { "regions": { "aws": [ @@ -9168,30 +9244,31 @@ "aws": [ "ap-south-2", "ap-southeast-1", + "ap-southeast-4", "eu-central-1", "eu-central-2", - "eu-west-2", "eu-west-3", "us-east-1", "us-east-2", "us-west-1", "ap-east-1", - "ap-northeast-1", "ap-northeast-2", "ap-southeast-2", "ap-southeast-3", "ca-central-1", "eu-west-1", + "eu-west-2", "me-central-1", "af-south-1", + "ap-northeast-1", "ap-northeast-3", "ap-south-1", "eu-north-1", "eu-south-1", "eu-south-2", "me-south-1", - "sa-east-1", - "us-west-2" + "us-west-2", + "sa-east-1" ], "aws-cn": [ "cn-northwest-1", diff --git a/tests/config/config_test.py b/tests/config/config_test.py index 72dfa01a..541cabbc 100644 --- a/tests/config/config_test.py +++ b/tests/config/config_test.py @@ -3,4 +3,4 @@ from prowler.providers.aws.aws_provider import get_aws_available_regions class Test_Config: def test_get_aws_available_regions(self): - assert len(get_aws_available_regions()) == 30 + assert len(get_aws_available_regions()) == 31