Skip to content
Draft
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
21 changes: 7 additions & 14 deletions opensearch-dashboards-3.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: opensearch-dashboards-3
version: "3.2.0" # when updating please check if we can remove the patched package.json for the reporting plugin
epoch: 2
version: "3.3.0"
epoch: 0
description: Open source visualization dashboards for OpenSearch
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -60,11 +60,7 @@ pipeline:
with:
repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
tag: ${{package.version}}
expected-commit: 9d91d4639ea0e0cbb909ccfda66de3288d0f02d7

- uses: patch
with:
patches: CVE-2025-9287-fix.patch
expected-commit: fbc260ec5a09d1c39270d20c9736f602ab4425d5

- runs: |
# Workaround for "OpenSearch Dashboards should not be run as root. Use --allow-root to continue."
Expand Down Expand Up @@ -93,13 +89,9 @@ pipeline:
devDependencies='{"cypress": "^13.5.1"}'
jq --argjson devDependencies "$devDependencies" '.devDependencies += $devDependencies' package.json > temp.json && mv temp.json package.json

# fix CVE-2025-9288
devDependencies='{"sha.js": "^2.4.12"}'
jq --argjson devDependencies "$devDependencies" '.devDependencies += $devDependencies' package.json > temp.json && mv temp.json package.json

# fix CVE-2025-9287
devDependencies='{"cipher-base": "^1.0.5"}'
jq --argjson devDependencies "$devDependencies" '.devDependencies += $devDependencies' package.json > temp.json && mv temp.json package.json
# fix GHSA-w48q-cv73-mx4w
resolutions='{"@modelcontextprotocol/sdk": "1.24.0"}'
jq --argjson resolutions "$resolutions" '.resolutions += $resolutions' package.json > temp.json && mv temp.json package.json

yarn osd bootstrap --allow-root

Expand Down Expand Up @@ -178,6 +170,7 @@ update:
github:
identifier: opensearch-project/OpenSearch-Dashboards
tag-filter: "3."
use-tag: true

test:
environment:
Expand Down
35 changes: 0 additions & 35 deletions opensearch-dashboards-3/CVE-2025-9287-fix.patch

This file was deleted.

Loading