Skip to content

Commit ea30a61

Browse files
committed
Merge branch 'main' into multiple-resource-tests
2 parents e1241d8 + a18f1bb commit ea30a61

File tree

115 files changed

+3667
-2771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+3667
-2771
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @cwperks @DarshitChanpura @derek-ho @nibix @peternied @RyanL1997 @reta @shikharj05 @willyborankin
1+
* @cwperks @DarshitChanpura @derek-ho @nibix @RyanL1997 @reta @shikharj05 @willyborankin

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
matrix:
4646
gradle_task: ${{ fromJson(needs.generate-test-list.outputs.separateTestsNames) }}
4747
platform: [windows-latest]
48-
jdk: [21, 24]
48+
jdk: [21, 25]
4949
runs-on: ${{ matrix.platform }}
5050

5151
steps:
@@ -80,7 +80,7 @@ jobs:
8080
matrix:
8181
gradle_task: ${{ fromJson(needs.generate-test-list.outputs.separateTestsNames) }}
8282
platform: [ubuntu-latest]
83-
jdk: [21, 24]
83+
jdk: [21, 25]
8484
runs-on: ubuntu-latest
8585
container:
8686
# using the same image which is used by opensearch-build to build the OpenSearch Distribution
@@ -144,7 +144,7 @@ jobs:
144144
strategy:
145145
fail-fast: false
146146
matrix:
147-
jdk: [21, 24]
147+
jdk: [21, 25]
148148
platform: [windows-latest]
149149
runs-on: ${{ matrix.platform }}
150150

@@ -178,7 +178,7 @@ jobs:
178178
strategy:
179179
fail-fast: false
180180
matrix:
181-
jdk: [21, 24]
181+
jdk: [21, 25]
182182
platform: [ubuntu-latest]
183183
runs-on: ubuntu-latest
184184
container:
@@ -221,7 +221,7 @@ jobs:
221221
strategy:
222222
fail-fast: false
223223
matrix:
224-
jdk: [21,24]
224+
jdk: [21, 25]
225225
platform: [ubuntu-latest]
226226
runs-on: ${{ matrix.platform }}
227227
container:
@@ -262,7 +262,7 @@ jobs:
262262
strategy:
263263
fail-fast: false
264264
matrix:
265-
jdk: [21, 24]
265+
jdk: [21, 25]
266266
platform: [windows-latest]
267267
runs-on: ${{ matrix.platform }}
268268

@@ -295,7 +295,7 @@ jobs:
295295
strategy:
296296
fail-fast: false
297297
matrix:
298-
jdk: [21, 24]
298+
jdk: [21, 25]
299299
platform: [ubuntu-latest]
300300
runs-on: ${{ matrix.platform }}
301301

@@ -338,7 +338,7 @@ jobs:
338338
strategy:
339339
fail-fast: false
340340
matrix:
341-
jdk: [11, 17]
341+
jdk: [21]
342342
platform: [ubuntu-latest, windows-latest]
343343
runs-on: ${{ matrix.platform }}
344344

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
jdk: [21, 24]
14+
jdk: [21, 25]
1515
test-run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
1616

1717
steps:

.github/workflows/plugin_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
15-
jdk: [21, 24]
15+
jdk: [21, 25]
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:

.whitesource

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@
1111
},
1212
"issueSettings": {
1313
"minSeverityLevel": "LOW"
14+
},
15+
"remediateSettings": {
16+
"addLabels": ["skip-changelog"],
17+
"workflowRules": {
18+
"enabled": true
19+
}
1420
}
1521
}

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1717
- Adding Alerting V2 roles to roles.yml ([#5747](https://github.com/opensearch-project/security/pull/5747))
1818
- add suggest api to ad read access role ([#5754](https://github.com/opensearch-project/security/pull/5754))
1919
- Get list of headersToCopy from core and use getHeader(String headerName) instead of getHeaders() ([#5769](https://github.com/opensearch-project/security/pull/5769))
20+
- [Resource Sharing] Keep track of resource_type on resource sharing document ([#5772](https://github.com/opensearch-project/security/pull/5772))
21+
- Add support for X509 v3 extensions (SAN) for authentication ([#5701](https://github.com/opensearch-project/security/pull/5701))
2022

2123
### Bug Fixes
2224
- Create a WildcardMatcher.NONE when creating a WildcardMatcher with an empty string ([#5694](https://github.com/opensearch-project/security/pull/5694))
@@ -34,11 +36,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3436
- Replace AccessController and remove restriction on word Extension ([#5750](https://github.com/opensearch-project/security/pull/5750))
3537
- Add security provider earlier in bootstrap process ([#5749](https://github.com/opensearch-project/security/pull/5749))
3638
- [GRPC] Fix compilation errors from core protobuf version bump to 0.23.0 ([#5763](https://github.com/opensearch-project/security/pull/5763))
39+
- Modularized PrivilegesEvaluator ([#5791](https://github.com/opensearch-project/security/pull/5791))
3740

3841
### Maintenance
3942
- Bump `org.junit.jupiter:junit-jupiter` from 5.13.4 to 5.14.1 ([#5678](https://github.com/opensearch-project/security/pull/5678), [#5764](https://github.com/opensearch-project/security/pull/5764))
4043
- Bump `ch.qos.logback:logback-classic` from 1.5.18 to 1.5.20 ([#5680](https://github.com/opensearch-project/security/pull/5680), [#5724](https://github.com/opensearch-project/security/pull/5724))
4144
- Bump `org.scala-lang:scala-library` from 2.13.16 to 2.13.17 ([#5682](https://github.com/opensearch-project/security/pull/5682))
45+
- Bump `kafka_version` from 4.0.0 to 4.1.0 ([#5613](https://github.com/opensearch-project/security/pull/5613))
4246
- Bump `org.gradle.test-retry` from 1.6.2 to 1.6.4 ([#5706](https://github.com/opensearch-project/security/pull/5706))
4347
- Bump `org.checkerframework:checker-qual` from 3.51.0 to 3.51.1 ([#5705](https://github.com/opensearch-project/security/pull/5705))
4448
- Bump `org.ow2.asm:asm` from 9.8 to 9.9 ([#5707](https://github.com/opensearch-project/security/pull/5707))
@@ -50,11 +54,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5054
- Bump `com.autonomousapps.build-health` from 3.0.4 to 3.3.0 ([#5726](https://github.com/opensearch-project/security/pull/5726), [#5744](https://github.com/opensearch-project/security/pull/5744))
5155
- Bump `spring_version` from 6.2.11 to 6.2.12 ([#5725](https://github.com/opensearch-project/security/pull/5725))
5256
- Bump `org.springframework.kafka:spring-kafka-test` from 4.0.0-M5 to 4.0.0-RC1 ([#5742](https://github.com/opensearch-project/security/pull/5742))
53-
- Bump `com.google.errorprone:error_prone_annotations` from 2.42.0 to 2.43.0 ([#5743](https://github.com/opensearch-project/security/pull/5743))
57+
- Bump `com.google.errorprone:error_prone_annotations` from 2.42.0 to 2.44.0 ([#5743](https://github.com/opensearch-project/security/pull/5743), [#5779](https://github.com/opensearch-project/security/pull/5779))
5458
- Bump `actions/upload-artifact` from 4 to 5 ([#5740](https://github.com/opensearch-project/security/pull/5740))
5559
- Bump `actions/download-artifact` from 5 to 6 ([#5739](https://github.com/opensearch-project/security/pull/5739))
5660
- Bump `com.google.googlejavaformat:google-java-format` from 1.28.0 to 1.31.0 ([#5741](https://github.com/opensearch-project/security/pull/5741), [#5765](https://github.com/opensearch-project/security/pull/5765))
5761
- Bump `com.jayway.jsonpath:json-path` from 2.9.0 to 2.10.0 ([#5767](https://github.com/opensearch-project/security/pull/5767))
62+
- Bump `org.apache.ws.xmlschema:xmlschema-core` from 2.3.1 to 2.3.2 ([#5781](https://github.com/opensearch-project/security/pull/5781))
63+
- Bump `commons-io:commons-io` from 2.20.0 to 2.21.0 ([#5780](https://github.com/opensearch-project/security/pull/5780))
64+
- Bump `com.nimbusds:nimbus-jose-jwt` from 10.5 to 10.6 ([#5782](https://github.com/opensearch-project/security/pull/5782))
65+
- Upgrade to gradle 9.2 and run CI with JDK 25 ([#5786](https://github.com/opensearch-project/security/pull/5786))
5866

5967
### Documentation
6068

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
1515
| Maintainer | GitHub ID | Affiliation |
1616
|------------------|-------------------------------------------------------|-------------|
1717
| Darshit Chanpura | [DarshitChanpura](https://github.com/DarshitChanpura) | Amazon |
18-
| Peter Nied | [peternied](https://github.com/peternied) | Amazon |
1918
| Craig Perkins | [cwperks](https://github.com/cwperks) | Amazon |
2019
| Derek Ho | [derek-ho](https://github.com/derek-ho) | Amazon |
2120
| Ryan Liang | [RyanL1997](https://github.com/RyanL1997) | Amazon |
@@ -28,6 +27,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
2827

2928
| Maintainer | GitHub ID | Affiliation |
3029
|------------------|---------------------------------------------------------|-------------|
30+
| Peter Nied | [peternied](https://github.com/peternied) | Airbnb |
3131
| Dave Lago | [davidlago](https://github.com/davidlago) | Contributor |
3232
| Chang Liu | [cliu123](https://github.com/cliu123) | Amazon |
3333
| Stephen Crawford | [stephen-crawford](https://github.com/stephen-crawford) | Contributor |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![CI](https://github.com/opensearch-project/security/workflows/CI/badge.svg?branch=main)](https://github.com/opensearch-project/security/actions) [![](https://img.shields.io/github/issues/opensearch-project/security/untriaged?labelColor=red)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"untriaged") [![](https://img.shields.io/github/issues/opensearch-project/security/security%20vulnerability?labelColor=red)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"security%20vulnerability") [![](https://img.shields.io/github/issues/opensearch-project/security)](https://github.com/opensearch-project/security/issues) [![](https://img.shields.io/github/issues-pr/opensearch-project/security)](https://github.com/opensearch-project/security/pulls)
2-
[![](https://img.shields.io/codecov/c/gh/opensearch-project/security)](https://app.codecov.io/gh/opensearch-project/security) [![](https://img.shields.io/github/issues/opensearch-project/security/v2.19.3)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"v2.19.3") [![](https://img.shields.io/github/issues/opensearch-project/security/v3.1.0)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"v3.1.0")
2+
[![](https://img.shields.io/codecov/c/gh/opensearch-project/security)](https://app.codecov.io/gh/opensearch-project/security) [![](https://img.shields.io/github/issues/opensearch-project/security/v2.19.5)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"v2.19.5") [![](https://img.shields.io/github/issues/opensearch-project/security/v3.4.0)](https://github.com/opensearch-project/security/issues?q=is%3Aissue+is%3Aopen+label%3A"v3.4.0")
33
[![Slack](https://img.shields.io/badge/Slack-4A154B?&logo=slack&logoColor=white)](https://opensearch.slack.com/archives/C051Y637FKK)
44

55

RESOURCE_SHARING_AND_ACCESS_CONTROL.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,6 @@ Read documents from a plugin’s index and migrate ownership and backend role-ba
610610
| `source_index` | string | yes | Name of the plugin index containing the existing resource documents |
611611
| `username_path` | string | yes | JSON Pointer to the username field inside each document |
612612
| `backend_roles_path` | string | yes | JSON Pointer to the backend_roles field (must point to a JSON array) |
613-
| `type_path` | string | no | JSON Pointer to the resource type field inside each document (required if multiple resource types in same resource index) |
614613
| `default_access_level` | object | yes | Default access level to assign migrated backend_roles. Must be one from the available action-groups for this type. See `resource-action-groups.yml`. |
615614

616615
**Example Request**
@@ -621,7 +620,6 @@ Read documents from a plugin’s index and migrate ownership and backend role-ba
621620
"source_index": ".sample_resource",
622621
"username_path": "/owner",
623622
"backend_roles_path": "/backend_roles",
624-
"type_path": "/type",
625623
"default_access_level": {
626624
"sample-resource": "read_only",
627625
"sample-resource-group": "read-only-group"

0 commit comments

Comments
 (0)