diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3679ed6..db63a19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG
+## 1.4.5 - 2025-03-03
+
+* Support new region me-central-1
+
## 1.4.4 - 2024-10-11
* Update deoendencies
diff --git a/README.md b/README.md
index 94604f8..42f2b1d 100644
--- a/README.md
+++ b/README.md
@@ -162,7 +162,7 @@ Creates a new instance of the `AmaasClient` class, and provisions essential sett
| Parameter | Description |
| ------------- | ---------------------------------------------------------------------------------------- |
-| region | The region you obtained your api key. Value provided must be one of the Vision One regions, e.g. `us-east-1`, `eu-central-1`, `ap-northeast-1`, `ap-southeast-2`, `ap-southeast-1`, `ap-south-1`, etc. If host is given, region will be ignored. |
+| region | The region you obtained your api key. Value provided must be one of the Vision One regions, e.g. `us-east-1`, `eu-central-1`, `ap-northeast-1`, `ap-southeast-2`, `ap-southeast-1`, `ap-south-1`, `me-central-1`, etc. If host is given, region will be ignored. |
| host | The host ip address of self hosted AMaaS scanner. Ignore if to use Trend AMaaS service |
| apikey | Your own Vision One API Key. |
| timeoutInSecs | Timeout to cancel the connection to server in seconds. Valid value is 0, 1, 2, ... ; default to 300 seconds. |
@@ -180,7 +180,7 @@ Creates a new instance of the `AmaasClient` class, and provisions essential sett
| Parameter | Description |
| ------------- | ---------------------------------------------------------------------------------------- |
-| region | The region you obtained your api key. Value provided must be one of the Vision One regions, e.g. `us-east-1`, `eu-central-1`, `ap-northeast-1`, `ap-southeast-2`, `ap-southeast-1`, `ap-south-1`, etc. |
+| region | The region you obtained your api key. Value provided must be one of the Vision One regions, e.g. `us-east-1`, `eu-central-1`, `ap-northeast-1`, `ap-southeast-2`, `ap-southeast-1`, `ap-south-1`, `me-central-1`, etc. |
| apikey | Your own Vision One API Key. |
| timeoutInSecs | Timeout to cancel the connection to server in seconds. Valid value is 0, 1, 2, ... ; default to 300 seconds. |
diff --git a/VERSION b/VERSION
index 1c99cf0..e516bb9 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.4.4
+1.4.5
diff --git a/pom.xml b/pom.xml
index ea19f32..28f2bf5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.trend
file-security-java-sdk
- 1.4.4
+ 1.4.5
file-security-java-sdk
https://github.com/trendmicro/tm-v1-fs-java-sdk
diff --git a/src/main/java/com/trend/cloudone/amaas/AMaasRegion.java b/src/main/java/com/trend/cloudone/amaas/AMaasRegion.java
index 7bfe1cd..f87ee31 100644
--- a/src/main/java/com/trend/cloudone/amaas/AMaasRegion.java
+++ b/src/main/java/com/trend/cloudone/amaas/AMaasRegion.java
@@ -24,6 +24,7 @@ final class AMaasRegion {
static final String AWS_CA_REGION = "ca-central-1";
static final String AWS_TREND_REGION = "us-east-2";
static final String AWS_GB_REGION = "eu-west-2";
+ static final String AWS_AE_REGION = "me-central-1";
static final String C1_JP_REGION = "jp-1";
static final String C1_SG_REGION = "sg-1";
static final String C1_AU_REGION = "au-1";
@@ -33,10 +34,11 @@ final class AMaasRegion {
static final String C1_CA_REGION = "ca-1";
static final String C1_TREND_REGION = "trend-us-1";
static final String C1_GB_REGION = "gb-1";
+ static final String C1_AE_REGION = "ae-1";
static final List C1_REGIONS = Arrays.asList(new String[]{C1_AU_REGION, C1_CA_REGION, C1_DE_REGION, C1_GB_REGION, C1_IN_REGION, C1_JP_REGION, C1_SG_REGION, C1_US_REGION, C1_TREND_REGION});
- static final List V1_REGIONS = Arrays.asList(new String[]{AWS_AU_REGION, AWS_CA_REGION, AWS_DE_REGION, AWS_GB_REGION, AWS_IN_REGION, AWS_JP_REGION, AWS_SG_REGION, AWS_US_REGION});
- static final List SUPPORTED_V1_REGIONS = Arrays.asList(new String[]{AWS_AU_REGION, AWS_DE_REGION, AWS_JP_REGION, AWS_SG_REGION, AWS_US_REGION, AWS_IN_REGION});
+ static final List V1_REGIONS = Arrays.asList(new String[]{AWS_AU_REGION, AWS_CA_REGION, AWS_DE_REGION, AWS_GB_REGION, AWS_IN_REGION, AWS_JP_REGION, AWS_SG_REGION, AWS_US_REGION, AWS_AE_REGION});
+ static final List SUPPORTED_V1_REGIONS = Arrays.asList(new String[]{AWS_AU_REGION, AWS_DE_REGION, AWS_JP_REGION, AWS_SG_REGION, AWS_US_REGION, AWS_IN_REGION, AWS_AE_REGION});
static final List SUPPORTED_C1_REGIONS = Arrays.asList(new String[]{C1_AU_REGION, C1_CA_REGION, C1_DE_REGION, C1_GB_REGION, C1_IN_REGION, C1_JP_REGION, C1_SG_REGION, C1_US_REGION});
static final Map V1_TO_C1_REGION_MAPPING = new HashMap() {
@@ -47,6 +49,7 @@ final class AMaasRegion {
put(AWS_JP_REGION, C1_JP_REGION);
put(AWS_SG_REGION, C1_SG_REGION);
put(AWS_US_REGION, C1_US_REGION);
+ put(AWS_AE_REGION, C1_AE_REGION);
}
};
@@ -61,6 +64,7 @@ final class AMaasRegion {
put(C1_GB_REGION, "antimalware.gb-1.cloudone.trendmicro.com");
put(C1_CA_REGION, "antimalware.ca-1.cloudone.trendmicro.com");
put(C1_TREND_REGION, "antimalware.trend-us-1.cloudone.trendmicro.com");
+ put(C1_AE_REGION, "antimalware.ae-1.cloudone.trendmicro.com");
}
};
diff --git a/src/test/java/com/trend/cloudone/amaas/AMaasRegionTest.java b/src/test/java/com/trend/cloudone/amaas/AMaasRegionTest.java
index 14ba9b6..9d9909b 100644
--- a/src/test/java/com/trend/cloudone/amaas/AMaasRegionTest.java
+++ b/src/test/java/com/trend/cloudone/amaas/AMaasRegionTest.java
@@ -13,6 +13,9 @@ public void testGetHostForRegion() {
region = AMaasRegion.getServiceFqdn("eu-central-1");
assertEquals("antimalware.de-1.cloudone.trendmicro.com", region);
+
+ region = AMaasRegion.getServiceFqdn("me-central-1");
+ assertEquals("antimalware.ae-1.cloudone.trendmicro.com", region);
}