From 7d160ca19654054cfc124e7dc5f8f4e44469e94d Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Thu, 20 Nov 2025 11:11:58 -0600 Subject: [PATCH 1/5] feat(date-timezone): dynamically generate timezone list using moment-timezone Signed-off-by: Manuel Abascal --- .../constants/date-timezone-date.const.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/shared/constants/date-timezone-date.const.ts b/frontend/src/app/shared/constants/date-timezone-date.const.ts index cd73ab06c..503bf2b64 100644 --- a/frontend/src/app/shared/constants/date-timezone-date.const.ts +++ b/frontend/src/app/shared/constants/date-timezone-date.const.ts @@ -1,3 +1,5 @@ +import moment from 'moment-timezone'; + export const DATE_SECTION_ID = 5; export const DEFAULT_DATE_SETTING_TIMEZONE = 'UTC'; @@ -6,7 +8,19 @@ export const DEFAULT_DATE_SETTING_DATE = 'medium'; export const DATE_SETTING_TIMEZONE_SHORT = 'utmstack.time.zone'; export const DATE_SETTING_FORMAT_SHORT = 'utmstack.time.dateformat'; -export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> = [ +export const TIMEZONES: Array<{ label: string; timezone: string; zone: string }> = + moment.tz.names().map((tz) => { + const parts = tz.split('/'); + const zone = parts[0] || 'Other'; + const label = tz.replace(/_/g, ' '); + return { + label, + timezone: tz, + zone + }; + }); + +/*export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> = [ {label: 'UTC', timezone: 'UTC', zone: 'UTC'}, {label: 'Eastern Standard Time (New York)', timezone: 'America/New_York', zone: 'America'}, {label: 'Pacific Standard Time (Los Angeles)', timezone: 'America/Los_Angeles', zone: 'America'}, @@ -38,7 +52,7 @@ export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> {label: 'Jerusalem (IST)', timezone: 'Asia/Jerusalem', zone: 'Asia'}, {label: 'Buenos Aires (ART)', timezone: 'America/Argentina/Buenos_Aires', zone: 'America'}, {label: 'São Paulo (BRT)', timezone: 'America/Sao_Paulo', zone: 'America'}, -]; +];*/ export const DATE_FORMATS: Array<{ label: string; format: string; equivalentTo: string }> = [ {label: 'Short', format: 'short', equivalentTo: 'M/d/yy, h:mm a'}, From a344c3d60bcc1eabcbc527956e4ceb1ff21733b8 Mon Sep 17 00:00:00 2001 From: Yorjander Hernandez Vergara <99102374+Kbayero@users.noreply.github.com> Date: Thu, 20 Nov 2025 12:18:55 -0500 Subject: [PATCH 2/5] Update v10-deployment-pipeline.yml --- .github/workflows/v10-deployment-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/v10-deployment-pipeline.yml b/.github/workflows/v10-deployment-pipeline.yml index 3340d6429..3e6c9c17c 100644 --- a/.github/workflows/v10-deployment-pipeline.yml +++ b/.github/workflows/v10-deployment-pipeline.yml @@ -3,7 +3,7 @@ name: V10 - Build & Deploy Pipeline on: push: branches: [ 'v10', 'release/v10**' ] - tags: [ 'v10.*' ] + tags: [ 'v10**' ] pull_request: branches: [ 'v10' ] From 383804328ad01297a0761f4bc56cc541c44c3064 Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Thu, 20 Nov 2025 11:25:55 -0600 Subject: [PATCH 3/5] chore(release): update changelog and version to 10.9.3 Signed-off-by: Manuel Abascal --- CHANGELOG.md | 8 +++----- version.yml | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76454990c..059ef1212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,4 @@ -# UTMStack 10.9.2 Release Notes +# UTMStack 10.9.3 Release Notes -- Added new Pacific time zones (New Zealand and Fiji) to the Date Settings section. -- Added TLS connection options and setup steps for secure Syslog integration -- Improved sorting of asset sources in tables, ensuring consistent and predictable order for names, IPs, and combined entries. -– Improved correlation rule handling for pfSense and SonicWall data sources to enhance detection accuracy and event normalization. +- Enriched the TIMEZONES constant to include additional IANA zones for broader coverage. +- Support for additional syslog framing methods (RFC 5424 octet counting). diff --git a/version.yml b/version.yml index fdcb6d806..8a353c437 100644 --- a/version.yml +++ b/version.yml @@ -1 +1 @@ -version: 10.9.2 \ No newline at end of file +version: 10.9.3 \ No newline at end of file From 51573002ec84710d892871f3f6b79915ca8ebecd Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Thu, 20 Nov 2025 11:11:58 -0600 Subject: [PATCH 4/5] feat(date-timezone): dynamically generate timezone list using moment-timezone Signed-off-by: Manuel Abascal --- .../constants/date-timezone-date.const.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/shared/constants/date-timezone-date.const.ts b/frontend/src/app/shared/constants/date-timezone-date.const.ts index cd73ab06c..503bf2b64 100644 --- a/frontend/src/app/shared/constants/date-timezone-date.const.ts +++ b/frontend/src/app/shared/constants/date-timezone-date.const.ts @@ -1,3 +1,5 @@ +import moment from 'moment-timezone'; + export const DATE_SECTION_ID = 5; export const DEFAULT_DATE_SETTING_TIMEZONE = 'UTC'; @@ -6,7 +8,19 @@ export const DEFAULT_DATE_SETTING_DATE = 'medium'; export const DATE_SETTING_TIMEZONE_SHORT = 'utmstack.time.zone'; export const DATE_SETTING_FORMAT_SHORT = 'utmstack.time.dateformat'; -export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> = [ +export const TIMEZONES: Array<{ label: string; timezone: string; zone: string }> = + moment.tz.names().map((tz) => { + const parts = tz.split('/'); + const zone = parts[0] || 'Other'; + const label = tz.replace(/_/g, ' '); + return { + label, + timezone: tz, + zone + }; + }); + +/*export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> = [ {label: 'UTC', timezone: 'UTC', zone: 'UTC'}, {label: 'Eastern Standard Time (New York)', timezone: 'America/New_York', zone: 'America'}, {label: 'Pacific Standard Time (Los Angeles)', timezone: 'America/Los_Angeles', zone: 'America'}, @@ -38,7 +52,7 @@ export const TIMEZONES: Array<{ label: string; timezone: string, zone: string }> {label: 'Jerusalem (IST)', timezone: 'Asia/Jerusalem', zone: 'Asia'}, {label: 'Buenos Aires (ART)', timezone: 'America/Argentina/Buenos_Aires', zone: 'America'}, {label: 'São Paulo (BRT)', timezone: 'America/Sao_Paulo', zone: 'America'}, -]; +];*/ export const DATE_FORMATS: Array<{ label: string; format: string; equivalentTo: string }> = [ {label: 'Short', format: 'short', equivalentTo: 'M/d/yy, h:mm a'}, From 6f8e876894a8785c1ecae082139d9444e6ab71f3 Mon Sep 17 00:00:00 2001 From: Manuel Abascal Date: Thu, 20 Nov 2025 11:25:55 -0600 Subject: [PATCH 5/5] chore(release): update changelog and version to 10.9.3 Signed-off-by: Manuel Abascal --- CHANGELOG.md | 8 +++----- version.yml | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76454990c..059ef1212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,4 @@ -# UTMStack 10.9.2 Release Notes +# UTMStack 10.9.3 Release Notes -- Added new Pacific time zones (New Zealand and Fiji) to the Date Settings section. -- Added TLS connection options and setup steps for secure Syslog integration -- Improved sorting of asset sources in tables, ensuring consistent and predictable order for names, IPs, and combined entries. -– Improved correlation rule handling for pfSense and SonicWall data sources to enhance detection accuracy and event normalization. +- Enriched the TIMEZONES constant to include additional IANA zones for broader coverage. +- Support for additional syslog framing methods (RFC 5424 octet counting). diff --git a/version.yml b/version.yml index fdcb6d806..8a353c437 100644 --- a/version.yml +++ b/version.yml @@ -1 +1 @@ -version: 10.9.2 \ No newline at end of file +version: 10.9.3 \ No newline at end of file