Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@

### Fixed

| Issue | Comment |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [#1276](https://github.com/wazuh/wazuh-dashboard/pull/1276) | Fixed health check padding styles |
| [#1285](https://github.com/wazuh/wazuh-dashboard/pull/1285) | Sanitized redirect path to prevent open redirect |
| [#1400](https://github.com/wazuh/wazuh-dashboard/pull/1400) | Prevent infinite remount loop when navigating from an app before its bundle finishes loading |
| Issue | Comment |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [#1520](https://github.com/wazuh/wazuh-dashboard/issues/1520) | Set the session cookie `SameSite` policy in the default configuration file |
| [#1276](https://github.com/wazuh/wazuh-dashboard/pull/1276) | Fixed health check padding styles |
| [#1285](https://github.com/wazuh/wazuh-dashboard/pull/1285) | Sanitized redirect path to prevent open redirect |
| [#1400](https://github.com/wazuh/wazuh-dashboard/pull/1400) | Prevent infinite remount loop when navigating from an app before its bundle finishes loading |

### Removed

Expand Down
19 changes: 14 additions & 5 deletions config/opensearch_dashboards.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,28 @@ opensearch.hosts: https://localhost:9200
opensearch.ssl.verificationMode: certificate
#opensearch.username:
#opensearch.password:
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch.requestHeadersAllowlist: ['securitytenant', 'Authorization']
opensearch_security.multitenancy.enabled: false
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
opensearch_security.readonly_mode.roles: ['kibana_read_only']
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
server.ssl.key: '/etc/wazuh-dashboard/certs/dashboard-key.pem'
server.ssl.certificate: '/etc/wazuh-dashboard/certs/dashboard.pem'
opensearch.ssl.certificateAuthorities: ['/etc/wazuh-dashboard/certs/root-ca.pem']
uiSettings.overrides.defaultRoute: /app/wz-home
# Session expiration settings
opensearch_security.cookie.ttl: 900000
opensearch_security.session.ttl: 900000
opensearch_security.session.keepalive: true

# HTTP hardening
# isSameSite applies to the platform session cookie (security_authentication)
# and to the Wazuh server API cookies (wz-token, wz-user, wz-api).
# Use None only when embedding the dashboard in a cross-origin iframe; None
# requires HTTPS. The Secure flag is derived from the server protocol and needs
# no setting here; set opensearch_security.cookie.secure explicitly only when a
# reverse proxy terminates TLS in front of the dashboard.
opensearch_security.cookie.isSameSite: Lax

# Define the Wazuh server hosts
wazuh_core.hosts:
default:
Expand Down
Loading