Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding release note for 1.3.5 #1077

Closed
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
18 changes: 0 additions & 18 deletions .github/workflows/dco.yml

This file was deleted.

14 changes: 4 additions & 10 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Integration Tests

on:
pull_request:
branches:
- main
push:
branches:
- main
on: [push, pull_request]

jobs:
tests:
Expand All @@ -15,12 +9,12 @@ jobs:
steps:
- name: Download OpenSearch Core
run: |
wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/488/linux/x64/builds/opensearch/dist/opensearch-min-1.3.0-linux-x64.tar.gz
wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.5/latest/linux/x64/tar/builds/opensearch/dist/opensearch-min-1.3.5-linux-x64.tar.gz
tar -xzf opensearch-*.tar.gz
rm -f opensearch-*.tar.gz

- name: Download OpenSearch Security Plugin
run: wget -O opensearch-security.zip https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/488/linux/x64/builds/opensearch/plugins/opensearch-security-1.3.0.0.zip
run: wget -O opensearch-security.zip https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.5/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-1.3.5.0.zip

- name: Run OpenSearch with plugin
run: |
Expand Down Expand Up @@ -50,7 +44,7 @@ jobs:
with:
path: OpenSearch-Dashboards
repository: opensearch-project/OpenSearch-Dashboards
ref: '1.x'
ref: '1.3'
fetch-depth: 0

- name: Create plugins dir
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
name: Unit Tests

on:
pull_request:
branches:
- main
- 1.*
push:
branches:
- main
on: [push, pull_request]

jobs:
tests:
Expand Down
4 changes: 2 additions & 2 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "securityDashboards",
"version": "1.3.0.0",
"opensearchDashboardsVersion": "1.3.0",
"version": "1.3.5.0",
"opensearchDashboardsVersion": "1.3.5",
"configPath": ["opensearch_security"],
"requiredPlugins": ["navigation"],
"server": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "opensearch-security-dashboards",
"version": "1.3.0.0",
"version": "1.3.5.0",
"main": "target/plugins/opensearch_security_dashboards",
"opensearchDashboards": {
"version": "1.3.0",
"templateVersion": "1.3.0"
"version": "1.3.5",
"templateVersion": "1.3.5"
},
"license": "Apache-2.0",
"homepage": "https://github.com/opensearch-project/security-dashboards-plugin",
Expand Down
2 changes: 1 addition & 1 deletion public/apps/configuration/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const CLUSTER_PERMISSIONS: string[] = [
'cluster:admin/opensearch/ml/models/get',
'cluster:admin/opensearch/ml/models/search',
'cluster:admin/opensearch/ml/predict',
'cluster:admin/openserach/ml/stats/nodes',
'cluster:admin/opensearch/ml/stats/nodes',
'cluster:admin/opensearch/ml/tasks/delete',
'cluster:admin/opensearch/ml/tasks/get',
'cluster:admin/opensearch/ml/tasks/search',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Version 1.3.0.0

### Enhancements
* Add auto backport functionality to security plugin ([#887](https://github.com/opensearch-project/security-dashboards-plugin/pull/887))
* Adds auto delete workflow for backport branches ([#901](https://github.com/opensearch-project/security-dashboards-plugin/pull/901))
* Configure ML plugin actions ([#912](https://github.com/opensearch-project/security-dashboards-plugin/pull/912))

### Bug Fixes
* Updates rule def for @osd/eslint/require-license-header ([#905](https://github.com/opensearch-project/security-dashboards-plugin/pull/905))
* Updates backport workflow with custom branch and github app ([#900](https://github.com/opensearch-project/security-dashboards-plugin/pull/900))

### Maintenance
* Bumps version to 1.3.0.0 ([#884](https://github.com/opensearch-project/security-dashboards-plugin/pull/884))
* Adds support for codeowners to repo ([#883](https://github.com/opensearch-project/security-dashboards-plugin/pull/883))
* Adds .whitesource and configs file to activate whitesource integration ([#885](https://github.com/opensearch-project/security-dashboards-plugin/pull/885))
* Uses 1.x branch of Dashboards for unit tests ([#890](https://github.com/opensearch-project/security-dashboards-plugin/pull/890))
* Makes PR template easier to fill in ([#888](https://github.com/opensearch-project/security-dashboards-plugin/pull/888))
* Adds release notes for 1.3.0.0 ([#918](https://github.com/opensearch-project/security-dashboards-plugin/pull/918))
* Updates release notes for 1.3.0.0 ([#920](https://github.com/opensearch-project/security-dashboards-plugin/pull/920))

### Documentation
* Improves developer guide ([#889](https://github.com/opensearch-project/security-dashboards-plugin/pull/889))
* Adds back removed portion of developer guide ([#893](https://github.com/opensearch-project/security-dashboards-plugin/pull/893))
* Updates maintainers list ([#902](https://github.com/opensearch-project/security-dashboards-plugin/pull/902))
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Version 1.3.1.0

### Enhancements
* Removes test workflow branch filter from unit and integration test workflows ([#930](https://github.com/opensearch-project/security-dashboards-plugin/pull/930))

### Maintenance
* Bumps version to 1.3.1.0 ([#925](https://github.com/opensearch-project/security-dashboards-plugin/pull/925))
* Adds release notes for 1.3.0.0 ([#980](https://github.com/opensearch-project/security-dashboards-plugin/pull/980))
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Version 1.3.2.0

### Bug Fixes
* Fix 'openserach' typo in constants.tsx (#953) ([#959](https://github.com/opensearch-project/security-dashboards-plugin/pull/959))

### Maintenance
* Incremented version to 1.3.2. ([#978](https://github.com/opensearch-project/security-dashboards-plugin/pull/978))
* Remove redundant DCO check in favor of the GitHub app ([#972](https://github.com/opensearch-project/security-dashboards-plugin/pull/972))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Version 1.3.5.0

### Bug Fixes
* Get security_tenant search param from URL ([#1043](https://github.com/opensearch-project/security-dashboards-plugin/pull/1043))
4 changes: 4 additions & 0 deletions server/multitenancy/tenant_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ export function resolveTenant(
): string | undefined {
let selectedTenant: string | undefined;
const query: any = request.url.query as any;
// eslint-disable-next-line @typescript-eslint/naming-convention
const security_tenant = request?.url?.searchParams?.get('security_tenant');
if (query && (query.security_tenant || query.securitytenant)) {
selectedTenant = query.security_tenant ? query.security_tenant : query.securitytenant;
} else if (security_tenant) {
selectedTenant = security_tenant;
} else if (request.headers.securitytenant || request.headers.security_tenant) {
selectedTenant = request.headers.securitytenant
? (request.headers.securitytenant as string)
Expand Down