Skip to content

Commit

Permalink
chore(v3): update latest changes from v4 (#4459)
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Martín <pedromarting3@gmail.com>
Co-authored-by: Rubén De la Torre Vico <rubendltv22@gmail.com>
  • Loading branch information
3 people authored Jul 16, 2024
1 parent cb43afb commit fb2c1ba
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 119 deletions.
27 changes: 8 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 21 additions & 26 deletions prowler/providers/aws/aws_regions_by_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -2264,6 +2265,7 @@
"regions": {
"aws": [
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
Expand All @@ -2274,6 +2276,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -2301,6 +2304,7 @@
"regions": {
"aws": [
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
Expand All @@ -2311,6 +2315,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -2340,6 +2345,7 @@
"regions": {
"aws": [
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
Expand All @@ -2350,6 +2356,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -5065,22 +5072,6 @@
]
}
},
"importexport": {
"regions": {
"aws": [
"ap-southeast-1",
"eu-west-1",
"us-east-1",
"us-west-1",
"us-west-2"
],
"aws-cn": [
"cn-north-1",
"cn-northwest-1"
],
"aws-us-gov": []
}
},
"inspector": {
"regions": {
"aws": [
Expand Down Expand Up @@ -7040,16 +7031,6 @@
"aws-us-gov": []
}
},
"mobile": {
"regions": {
"aws": [
"us-east-1",
"us-west-2"
],
"aws-cn": [],
"aws-us-gov": []
}
},
"monitron": {
"regions": {
"aws": [
Expand Down Expand Up @@ -7120,16 +7101,25 @@
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
Expand Down Expand Up @@ -7836,6 +7826,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -9980,6 +9971,7 @@
"ap-southeast-3",
"ap-southeast-4",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
Expand Down Expand Up @@ -10997,9 +10989,12 @@
"wickr": {
"regions": {
"aws": [
"ap-northeast-1",
"ap-southeast-1",
"ap-southeast-2",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-west-2",
"us-east-1"
],
Expand Down
6 changes: 3 additions & 3 deletions prowler/providers/aws/services/glue/glue_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def __get_connections__(self, regional_client):
self.connections.append(
Connection(
arn=arn,
name=conn["Name"],
type=conn["ConnectionType"],
properties=conn["ConnectionProperties"],
name=conn.get("Name", ""),
type=conn.get("ConnectionType", ""),
properties=conn.get("ConnectionProperties", {}),
region=regional_client.region,
)
)
Expand Down
Loading

0 comments on commit fb2c1ba

Please sign in to comment.