Skip to content

Commit 06d72b4

Browse files
authored
Merge pull request #810 from wazuh/merge-4.14.0-into-main
Merge 4.14.0 into main
2 parents 1852bb3 + 3a772e1 commit 06d72b4

7 files changed

Lines changed: 25 additions & 9 deletions

File tree

.github/workflows/cypress_workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ jobs:
156156
matrix.config == 'dashboard' &&
157157
'node scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --opensearchDashboards.branding.useExpandedHeader=true'||
158158
'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false --uiSettings.overrides["query:enhancements:enabled"]=false --opensearchDashboards.branding.useExpandedHeader=true' }}
159-
OPENSEARCH_SNAPSHOT_CMD: ${{ (matrix.config == 'query_enhanced' || matrix.config == 'explore') &&
159+
OPENSEARCH_SNAPSHOT_CMD:
160+
${{ (matrix.config == 'query_enhanced' || matrix.config == 'explore') &&
160161
'/bin/bash -c "./opensearch-${{ env.LATEST_VERSION }}/opensearch-tar-install.sh &"' ||
161162
matrix.config == 'dashboard' &&
162163
'node scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false -E search.concurrent_segment_search.mode=none' ||

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,20 @@ All notable changes to the Wazuh app project will be documented in this file.
2424

2525
- Fixed a problem with the service file that was marked world-inaccessible [#740](https://github.com/wazuh/wazuh-dashboard/pull/740)
2626

27-
## Wazuh dashboard v4.13.0 - OpenSearch Dashboards 2.19.2 - Revision 01
27+
### Changed
28+
29+
- Reduced default session and cookie expiration to 15 minutes for the Wazuh security plugin [#749](https://github.com/wazuh/wazuh-dashboard/issues/749)[#321](https://github.com/wazuh/wazuh-security-dashboards-plugin/pull/321)
30+
31+
## Wazuh dashboard v4.13.0 - OpenSearch Dashboards 2.19.2 - Revision 04
2832

2933
### Added
3034

3135
- Support for Wazuh 4.13.0
3236

37+
### Fixed
38+
39+
- Fixed a problem that caused configuration files to be duplicated [#790](https://github.com/wazuh/wazuh-dashboard/issues/790)
40+
3341
## Wazuh dashboard v4.12.0 - OpenSearch Dashboards 2.19.1 - Revision 03
3442

3543
### Added
@@ -126,3 +134,4 @@ All notable changes to the Wazuh app project will be documented in this file.
126134
- Changed default logos and main menu app categories [141](https://github.com/wazuh/wazuh-dashboard/pull/141)
127135
- Changed default value of useExpandedHeader to false [#247](https://github.com/wazuh/wazuh-dashboard/pull/247)
128136
- Changed build number to match the Wazuh standard [#284](https://github.com/wazuh/wazuh-dashboard/pull/284)
137+

config/opensearch_dashboards.prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ server.ssl.key: "/etc/wazuh-dashboard/certs/dashboard-key.pem"
1212
server.ssl.certificate: "/etc/wazuh-dashboard/certs/dashboard.pem"
1313
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
1414
uiSettings.overrides.defaultRoute: /app/wz-home
15+
# Session expiration settings
16+
opensearch_security.cookie.ttl: 900000
17+
opensearch_security.session.ttl: 900000
18+
opensearch_security.session.keepalive: true

dev-tools/build-packages/base-packages-to-base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ bash run-docker-compose.sh \
3636
--node-version 20.18.3
3737
```
3838

39-
This example will create a packages folder that inside will have the packages divided by repository of the main branch of each one.
39+
This example will create a packages folder that inside will have the packages divided by repository of the main branch of each one.

dev-tools/build-packages/deb/debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ override_dh_install:
6767
mkdir -p $(TARGET_DIR)/etc/systemd/system
6868
mkdir -p $(TARGET_DIR)/etc/default
6969

70-
cp wazuh-dashboard-base/config/node.options $(TARGET_DIR)$(CONFIG_DIR)
71-
cp wazuh-dashboard-base/config/opensearch_dashboards.yml $(TARGET_DIR)$(CONFIG_DIR)
70+
mv wazuh-dashboard-base/config/node.options $(TARGET_DIR)$(CONFIG_DIR)
71+
mv wazuh-dashboard-base/config/opensearch_dashboards.yml $(TARGET_DIR)$(CONFIG_DIR)
7272
mv wazuh-dashboard-base/* $(TARGET_DIR)$(INSTALLATION_DIR)
7373

7474
mkdir -p $(TARGET_DIR)$(INSTALLATION_DIR)/config

dev-tools/build-packages/rpm/wazuh-dashboard.spec

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ mkdir -p %{buildroot}/etc/systemd/system
6666
mkdir -p %{buildroot}%{_initrddir}
6767
mkdir -p %{buildroot}/etc/default
6868

69-
cp wazuh-dashboard-base/config/node.options %{buildroot}%{CONFIG_DIR}
70-
cp wazuh-dashboard-base/config/opensearch_dashboards.yml %{buildroot}%{CONFIG_DIR}
69+
mv wazuh-dashboard-base/config/node.options %{buildroot}%{CONFIG_DIR}
70+
mv wazuh-dashboard-base/config/opensearch_dashboards.yml %{buildroot}%{CONFIG_DIR}
7171
cp wazuh-dashboard-base/VERSION.json %{buildroot}%{INSTALL_DIR}
7272

7373
mv wazuh-dashboard-base/* %{buildroot}%{INSTALL_DIR}
@@ -205,8 +205,6 @@ rm -fr %{buildroot}
205205

206206
%config(noreplace) %attr(0750, %{USER}, %{GROUP}) "/etc/default/wazuh-dashboard"
207207
%config(noreplace) %attr(0640, %{USER}, %{GROUP}) "%{CONFIG_DIR}/opensearch_dashboards.yml"
208-
%config(noreplace) %attr(0640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/config/opensearch_dashboards.yml"
209-
%config(noreplace) %attr(0640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/config/node.options"
210208

211209
%attr(440, %{USER}, %{GROUP}) %{INSTALL_DIR}/VERSION.json
212210
%dir %attr(750, %{USER}, %{GROUP}) %{INSTALL_DIR}

docker/config/opensearch_dashboards.dev.security.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ opensearch.requestHeadersWhitelist: [ authorization,securitytenant ]
88
opensearch_security.multitenancy.enabled: true
99
opensearch_security.multitenancy.tenants.preferred: ["Private", "Global"]
1010
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
11+
# Session expiration settings
12+
opensearch_security.cookie.ttl: 900000
13+
opensearch_security.session.ttl: 900000
14+
opensearch_security.session.keepalive: true
1115

1216
# Use this setting if you are running opensearch-dashboards without https
1317
opensearch_security.cookie.secure: false

0 commit comments

Comments
 (0)