forked from opensearch-project/security
-
Notifications
You must be signed in to change notification settings - Fork 0
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
audit logging tests, named routes #7
Closed
MaciejMierzwa
wants to merge
47
commits into
DarshitChanpura:authorize-rest-requests
from
MaciejMierzwa:authorize-rest-requests_audit_log_test
Closed
audit logging tests, named routes #7
MaciejMierzwa
wants to merge
47
commits into
DarshitChanpura:authorize-rest-requests
from
MaciejMierzwa:authorize-rest-requests_audit_log_test
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add .plugins-ml-connector to system index Signed-off-by: zane-neo <[email protected]> * Add .plugins-ml-connector to system index Signed-off-by: zane-neo <[email protected]> * Fix PR check failure Signed-off-by: zane-neo <[email protected]> * Fix PR check failure Signed-off-by: zane-neo <[email protected]> * Add .plugins-ml-model-group to install_demo_configuration.bat Signed-off-by: zane-neo <[email protected]> --------- Signed-off-by: zane-neo <[email protected]>
…2949) * Add password message to /dashboardsinfo endpoint Signed-off-by: Craig Perkins <[email protected]> * Update test names Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]>
- OpenSAML to version 4.3.0 - One login SAML tp 2.9.0 Signed-off-by: Andrey Pleskach <[email protected]>
Signed-off-by: Andrey Pleskach <[email protected]>
* WIP on rest layer authz Signed-off-by: Craig Perkins <[email protected]> * WIP on rest-layer authz Signed-off-by: Craig Perkins <[email protected]> * Extension handshake Signed-off-by: Craig Perkins <[email protected]> * Extension TLS Signed-off-by: Craig Perkins <[email protected]> * Remove SecurityRestFilterChanges to isolate extension TLS change Signed-off-by: Craig Perkins <[email protected]> * Remove SecurityRestFilterChanges to isolate extension TLS change Signed-off-by: Craig Perkins <[email protected]> * Remove SecurityRestFilterChanges to isolate extension TLS change Signed-off-by: Craig Perkins <[email protected]> * Remove SecurityRestFilterChanges to isolate extension TLS change Signed-off-by: Craig Perkins <[email protected]> * Remove SecurityRestFilterChanges to isolate extension TLS change Signed-off-by: Craig Perkins <[email protected]> * WIP for HelloWorld sample extension role Signed-off-by: Craig Perkins <[email protected]> * Initial implementation of authz check in REST layer Signed-off-by: Craig Perkins <[email protected]> * Remove header Signed-off-by: Craig Perkins <[email protected]> * Create authorizeRequest method Signed-off-by: Craig Perkins <[email protected]> * small fix Signed-off-by: Craig Perkins <[email protected]> * Change to ProtectedRoute Signed-off-by: Craig Perkins <[email protected]> * Remove extension permissions Signed-off-by: Craig Perkins <[email protected]> * Initial implementation of authz check in REST layer Signed-off-by: Craig Perkins <[email protected]> * Extension TLS Signed-off-by: Craig Perkins <[email protected]> * Adds dummy roles for testing rest authorization against legacy permissions Signed-off-by: Darshit Chanpura <[email protected]> * Adds support for legacy permissions to perform rest authorization Signed-off-by: Darshit Chanpura <[email protected]> * Fixes white-space changes Signed-off-by: Darshit Chanpura <[email protected]> * Rebases ConfigConstants with main Signed-off-by: Darshit Chanpura <[email protected]> * Implements a new logic for rest permissions check to be more flexible Signed-off-by: Darshit Chanpura <[email protected]> * Fixes spotless errors Signed-off-by: Darshit Chanpura <[email protected]> * Adds regex to match against current role permissions when comparing new permission with legacy ones Signed-off-by: Darshit Chanpura <[email protected]> * Moves legacy permission check logic to ConfigModelV7 Signed-off-by: Darshit Chanpura <[email protected]> * Fixes extra new-lines Signed-off-by: Darshit Chanpura <[email protected]> * Fixes unused imports Signed-off-by: Darshit Chanpura <[email protected]> * Fixes out-of-scope white space changes Signed-off-by: Darshit Chanpura <[email protected]> * Fixes code-ql errors Signed-off-by: Darshit Chanpura <[email protected]> * Fixes spotless and code-ql errors Signed-off-by: Darshit Chanpura <[email protected]> * Fixes variable name and remove references to whitelist in javadoc Signed-off-by: Darshit Chanpura <[email protected]> * Adds tests for rest layer privilege evaluator Signed-off-by: Darshit Chanpura <[email protected]> * Adds license header to the test file Signed-off-by: Darshit Chanpura <[email protected]> * Updates zstd dependency to fetch from core version.properties Signed-off-by: Darshit Chanpura <[email protected]> * Updates action name in the regex to be dynamic Signed-off-by: Darshit Chanpura <[email protected]> * Adds support for allowing evaluation against multiple actions names for a registered named route Signed-off-by: Darshit Chanpura <[email protected]> * Updates tests Signed-off-by: Darshit Chanpura <[email protected]> * Adds null check Signed-off-by: Darshit Chanpura <[email protected]> * Makes authorize logic clearer to follow Signed-off-by: Darshit Chanpura <[email protected]> * Adds extra check to ensure new actions are also evaluated against transport actions Signed-off-by: Darshit Chanpura <[email protected]> * Fixes spotless errors Signed-off-by: Darshit Chanpura <[email protected]> * Fixes security rest filter setup Signed-off-by: Darshit Chanpura <[email protected]> * Removes extension reference Signed-off-by: Darshit Chanpura <[email protected]> * turn on audit logging Signed-off-by: Maciej Mierzwa <[email protected]> * Adds unit tests for restPathMatches method Signed-off-by: Darshit Chanpura <[email protected]> * Cleans up TODOs Signed-off-by: Darshit Chanpura <[email protected]> * Organizes demo users and roles for extension Signed-off-by: Darshit Chanpura <[email protected]> * Address PR feedback Signed-off-by: Darshit Chanpura <[email protected]> * Adds more comments Signed-off-by: Darshit Chanpura <[email protected]> * add privileges info Signed-off-by: Maciej Mierzwa <[email protected]> * Makes whoami action a named route and fixes license header check Signed-off-by: Darshit Chanpura <[email protected]> * Adds integ tests for whoami route Signed-off-by: Darshit Chanpura <[email protected]> * Change permissions order in roles.yml Signed-off-by: Darshit Chanpura <[email protected]> * Adds developer documentation for authorization in REST layer Signed-off-by: Darshit Chanpura <[email protected]> * Fixes broken tests Signed-off-by: Darshit Chanpura <[email protected]> * Fixes checkstyle errors Signed-off-by: Darshit Chanpura <[email protected]> * Addresses feedback and cleans up logic for super admin check Signed-off-by: Darshit Chanpura <[email protected]> * Addresses Plugin Install CI failure Signed-off-by: Darshit Chanpura <[email protected]> * Fixes failing citest task Signed-off-by: Darshit Chanpura <[email protected]> * Modifies WhoAmI integ tests Signed-off-by: Darshit Chanpura <[email protected]> * Adds a new endpoint called whoamiprotected and removes changes made to whoami route Signed-off-by: Darshit Chanpura <[email protected]> * Updates documentation to reflect the new API Signed-off-by: Darshit Chanpura <[email protected]> * Addresses PR feedback Signed-off-by: Darshit Chanpura <[email protected]> * Renames action0 to actions Signed-off-by: Darshit Chanpura <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Darshit Chanpura <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]> Co-authored-by: Craig Perkins <[email protected]> Co-authored-by: MaciejMierzwa <[email protected]>
Signed-off-by: Andrey Pleskach <[email protected]>
…pensearch-project#2964) Bumps [org.apiguardian:apiguardian-api](https://github.com/apiguardian-team/apiguardian) from 1.0.0 to 1.1.2. - [Release notes](https://github.com/apiguardian-team/apiguardian/releases) - [Commits](apiguardian-team/apiguardian@r1.0.0...r1.1.2) --- updated-dependencies: - dependency-name: org.apiguardian:apiguardian-api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oject#2960) Bumps com.sun.istack:istack-commons-runtime from 3.0.12 to 4.2.0. --- updated-dependencies: - dependency-name: com.sun.istack:istack-commons-runtime dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…opensearch-project#2963) Bumps [com.google.j2objc:j2objc-annotations](https://github.com/google/j2objc) from 1.3 to 2.8. - [Release notes](https://github.com/google/j2objc/releases) - [Commits](google/j2objc@1.3...2.8) --- updated-dependencies: - dependency-name: com.google.j2objc:j2objc-annotations dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add readonly API to security plugin Signed-off-by: zane-neo <[email protected]> * Change the order of permission list Signed-off-by: zane-neo <[email protected]> --------- Signed-off-by: zane-neo <[email protected]>
…same node (opensearch-project#2765) Signed-off-by: Darshit Chanpura <[email protected]> Signed-off-by: Craig Perkins <[email protected]> Co-authored-by: Craig Perkins <[email protected]>
…oject#2968) Bumps [jakarta.xml.bind:jakarta.xml.bind-api](https://github.com/eclipse-ee4j/jaxb-api) from 2.3.3 to 4.0.0. - [Release notes](https://github.com/eclipse-ee4j/jaxb-api/releases) - [Commits](jakartaee/jaxb-api@2.3.3...4.0.0) --- updated-dependencies: - dependency-name: jakarta.xml.bind:jakarta.xml.bind-api dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…-project#2969) Bumps [org.apache.bcel:bcel](https://github.com/apache/commons-bcel) from 6.6.0 to 6.7.0. - [Changelog](https://github.com/apache/commons-bcel/blob/master/RELEASE-NOTES.txt) - [Commits](apache/commons-bcel@rel/commons-bcel-6.6.0...rel/commons-bcel-6.7.0) --- updated-dependencies: - dependency-name: org.apache.bcel:bcel dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The eventbus artifact was moved in org.greenrobot:eventbus-java instead org.greenrobot:eventbus Signed-off-by: Andrey Pleskach <[email protected]>
…pensearch-project#2970) Bumps org.glassfish.jaxb:jaxb-runtime from 2.3.4 to 4.0.3. --- updated-dependencies: - dependency-name: org.glassfish.jaxb:jaxb-runtime dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
…t#2980) Signed-off-by: owaiskazi19 <[email protected]>
* SAML 4.3.0 addition persmission Added addition permissions for new version of SAML. Signed-off-by: Andrey Pleskach <[email protected]> * Fix log4j version Signed-off-by: Andrey Pleskach <[email protected]> --------- Signed-off-by: Andrey Pleskach <[email protected]>
Signed-off-by: Andrey Pleskach <[email protected]>
…ect#3003) * Update imports for files refactored in core PR #8157 Signed-off-by: Craig Perkins <[email protected]> * Update references to old packages in test files Signed-off-by: Craig Perkins <[email protected]> * Get remaining bad imports in integrationTest Signed-off-by: Craig Perkins <[email protected]> * Update log4j in bwc build.gradle Signed-off-by: Craig Perkins <[email protected]> * Use versions.log4j Signed-off-by: Craig Perkins <[email protected]> * Also reference guava version Signed-off-by: Craig Perkins <[email protected]> * Update integtest.sh Signed-off-by: Craig Perkins <[email protected]> * Update tests that expect certain amount of headers in a response Signed-off-by: Craig Perkins <[email protected]> * Empty commit Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]>
…h-project#3024) * Add -SNAPSHOT Signed-off-by: Craig Perkins <[email protected]> * Build SNAPSHOT for security plugin in bwc tests Signed-off-by: Craig Perkins <[email protected]> * Add -SNAPSHOT Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]>
* Add release notes for 2.9.0.0 Signed-off-by: Craig Perkins <[email protected]> * Add new item to release notes Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Xun Zhang <[email protected]>
…ch-project#2999) * add password regex setting onto dashboardsinfo backend call Signed-off-by: Derek Ho <[email protected]>
…amel-xmlsecurity (opensearch-project#3023) - Bumps com.netflix.nebula.ospackage from 11.1.0 to 11.3.0 - Bumps org.checkerframework:checker-qual from 3.5.0 to 3.36.0 - Bumps com.nulab-inc:zxcvbn from 1.7.0 to 1.8.0 - Bumps com.google.errorprone:error_prone_annotations from 2.3.4 to 2.20.0 - Bumps org.apache.camel:camel-xmlsecurity from 3.14.2 to 3.21.0 Signed-off-by: Craig Perkins <[email protected]>
…t#2994) * add workflow cluster permissions to alerting roles Signed-off-by: Surya Sashank Nistala <[email protected]> * fix ordering of new cluster permissions in roles.yml Signed-off-by: Surya Sashank Nistala <[email protected]> --------- Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
* Adapt the MediaType changes in core Signed-off-by: Ryan Liang <[email protected]>
### Description The aim of this PR is to start cleaning code in REST API since with the current implementation is difficult to understand and support. Changes: - Implemented new `RequestConetnValidator` class which uses the same validation logic as `AbstractConfigurationValidator` - Removed all redundant `AbstractConfigurationValidator` extensions ### Testing [Please provide details of testing done: unit testing, integration testing and manual testing] ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). --------- Signed-off-by: Andrey Pleskach <[email protected]>
…t#3041) Bumps `kafka_version` from 3.5.0 to 3.5.1. Updates `org.apache.kafka:kafka-clients` from 3.5.0 to 3.5.1 Updates `org.apache.kafka:kafka_2.13` from 3.5.0 to 3.5.1 Updates `org.apache.kafka:kafka-group-coordinator` from 3.5.0 to 3.5.1 Updates `org.apache.kafka:kafka-metadata` from 3.5.0 to 3.5.1 Updates `org.apache.kafka:kafka-storage` from 3.5.0 to 3.5.1 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pensearch-project#3069) There are multiple PRs in core affecting the security plugin that the security plugin needs to adapt to. - opensearch-project/OpenSearch#7792 - opensearch-project/OpenSearch#8826 - opensearch-project/OpenSearch#8668 I am opening a Draft PR that includes a fix for the Lucene-related test failures which was caused by opensearch-project/OpenSearch#7792 Resolves: opensearch-project#3064 Signed-off-by: Craig Perkins <[email protected]>
### Description Remove static reference/initialization of localNode variable inside security plugin, to fix `No user found..` errors caused due to mismatching localNode values in test. Signed-off-by: Peter Nied <[email protected]> Co-authored-by: Peter Nied <[email protected]>
…nsearch-project#3071) Bumps [org.cryptacular:cryptacular](https://github.com/vt-middleware/cryptacular) from 1.2.4 to 1.2.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vt-middleware/cryptacular/releases">org.cryptacular:cryptacular's releases</a>.</em></p> <blockquote> <h2>v1.2.5 release</h2> <p>See <a href="https://www.cryptacular.org/download.html">https://www.cryptacular.org/download.html</a> for change log and binaries.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vt-middleware/cryptacular/commit/39eead746e18a49a8bbb108457b8879c1b7f6bce"><code>39eead7</code></a> Update version for 1.2.5 release.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/75b6c398dce88dafc22c85938ff0685c9d57906a"><code>75b6c39</code></a> Remove travis config.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/ae821d23f8e76ef50e57a1592a2d2def89a4eb8d"><code>ae821d2</code></a> Update plugin and library dependencies.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/f7dbd7a0b47c1eb70e89626d286dd8ef87940e5a"><code>f7dbd7a</code></a> Improve release script.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/5b28d50122737c19ab4eb5852bdf8be1fa905208"><code>5b28d50</code></a> Update plugin versions.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/3419f66009b1a9e4cb6e2ff9bc9a40be96b99771"><code>3419f66</code></a> Use variable for computing buffer length. (<a href="https://redirect.github.com/vt-middleware/cryptacular/issues/60">#60</a>)</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/bef8a9f3e736ea1d704b878008e5807eef9f3ae5"><code>bef8a9f</code></a> Add publish snapshot script.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/5285b5ef57f0a253b1ee0680b04b72292b27979e"><code>5285b5e</code></a> Update plugin and library dependencies.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/04e243c61d35e3ec69617ae12d9742112fa3c80e"><code>04e243c</code></a> Formatting fix.</li> <li><a href="https://github.com/vt-middleware/cryptacular/commit/99d4d9072898af5a1232eba34bf53af3919652cc"><code>99d4d90</code></a> Update copyright year.</li> <li>Additional commits viewable in <a href="https://github.com/vt-middleware/cryptacular/compare/v1.2.4...v1.2.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.cryptacular:cryptacular&package-manager=gradle&previous-version=1.2.4&new-version=1.2.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rch-project#3062) Manually re-creating dependabot's [PR](opensearch-project#3042) off of the latest changes from main which has build fixes. Is there a way we can open PRs with main at the push of a button? Signed-off-by: Craig Perkins <[email protected]>
…rch-project#3074) Bumps commons-io:commons-io from 2.11.0 to 2.13.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commons-io:commons-io&package-manager=gradle&previous-version=2.11.0&new-version=2.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….19 (opensearch-project#3073) Bumps [io.dropwizard.metrics:metrics-core](https://github.com/dropwizard/metrics) from 3.1.2 to 4.2.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dropwizard/metrics/releases">io.dropwizard.metrics:metrics-core's releases</a>.</em></p> <blockquote> <h2>v4.2.19</h2> <h2>What's Changed</h2> <ul> <li>Update dependency maven to v3.9.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3249">dropwizard/metrics#3249</a></li> <li>Update dependency org.apache.maven.plugins:maven-release-plugin to v3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3251">dropwizard/metrics#3251</a></li> <li>Update dependency com.rabbitmq:amqp-client to v5.17.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3254">dropwizard/metrics#3254</a></li> <li>Update actions/stale action to v8 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3257">dropwizard/metrics#3257</a></li> <li>Update logback.version to v1.2.12 (patch) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3260">dropwizard/metrics#3260</a></li> <li>Update dependency org.glassfish.jersey:jersey-bom to v2.39.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3259">dropwizard/metrics#3259</a></li> <li>Update actions/checkout digest to 8f4b7f8 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3261">dropwizard/metrics#3261</a></li> <li>Update dependency org.apache.maven.plugins:maven-deploy-plugin to v3.1.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3262">dropwizard/metrics#3262</a></li> <li>Update dependency org.apache.maven.plugins:maven-resources-plugin to v3.3.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3263">dropwizard/metrics#3263</a></li> <li>Update actions/setup-java digest to 5ffc13f by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3269">dropwizard/metrics#3269</a></li> <li>Update dependency net.bytebuddy:byte-buddy to v1.14.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3272">dropwizard/metrics#3272</a></li> <li>Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3276">dropwizard/metrics#3276</a></li> <li>Update dependency org.glassfish.jersey:jersey-bom to v3.0.10 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3277">dropwizard/metrics#3277</a></li> <li>Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.6 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3279">dropwizard/metrics#3279</a></li> <li>Update dependency org.checkerframework:checker-qual to v3.33.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3282">dropwizard/metrics#3282</a></li> <li>Update dependency org.jacoco:jacoco-maven-plugin to v0.8.9 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3281">dropwizard/metrics#3281</a></li> <li>Update dependency net.bytebuddy:byte-buddy to v1.14.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3288">dropwizard/metrics#3288</a></li> <li>Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.3.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3285">dropwizard/metrics#3285</a></li> <li>Update dependency com.github.ben-manes.caffeine:caffeine to v3.1.6 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3290">dropwizard/metrics#3290</a></li> <li>Update dependency org.mockito:mockito-core to v5.3.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3292">dropwizard/metrics#3292</a></li> <li>Update actions/checkout digest to 83b7061 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3294">dropwizard/metrics#3294</a></li> <li>Update dependency org.eclipse.jetty:jetty-bom to v10.0.15 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3298">dropwizard/metrics#3298</a></li> <li>Update dependency org.eclipse.jetty:jetty-bom to v11.0.15 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3299">dropwizard/metrics#3299</a></li> <li>Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.7 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3301">dropwizard/metrics#3301</a></li> <li>Update actions/checkout digest to 8e5e7e5 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3297">dropwizard/metrics#3297</a></li> <li>Update logback13.version to v1.3.7 (patch) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3305">dropwizard/metrics#3305</a></li> <li>Update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3304">dropwizard/metrics#3304</a></li> <li>Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.2.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3313">dropwizard/metrics#3313</a></li> <li>Update logback14.version to v1.4.7 (patch) by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3306">dropwizard/metrics#3306</a></li> <li>Update dependency org.mockito:mockito-core to v5.3.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3320">dropwizard/metrics#3320</a></li> <li>Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.8 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3326">dropwizard/metrics#3326</a></li> <li>Update dependency org.jacoco:jacoco-maven-plugin to v0.8.10 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3327">dropwizard/metrics#3327</a></li> <li>Update dependency org.jdbi:jdbi3-core to v3.38.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3328">dropwizard/metrics#3328</a></li> <li>Add reference to poiu-de/metrics-jfr by <a href="https://github.com/joschi"><code>@joschi</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3335">dropwizard/metrics#3335</a></li> <li>Update dependency org.jdbi:jdbi3-core to v3.38.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3336">dropwizard/metrics#3336</a></li> <li>Update dependency org.checkerframework:checker-qual to v3.34.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3337">dropwizard/metrics#3337</a></li> <li>Update dependency org.jdbi:jdbi3-core to v3.38.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3339">dropwizard/metrics#3339</a></li> <li>Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.1.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3343">dropwizard/metrics#3343</a></li> <li>Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.1.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3345">dropwizard/metrics#3345</a></li> <li>Update dependency com.google.errorprone:error_prone_core to v2.19.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3348">dropwizard/metrics#3348</a></li> <li>Update dependency maven to v3.9.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3352">dropwizard/metrics#3352</a></li> <li>Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.4.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3353">dropwizard/metrics#3353</a></li> <li>Update dependency org.glassfish.jersey:jersey-bom to v3.1.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3357">dropwizard/metrics#3357</a></li> <li>Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.7.9 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3356">dropwizard/metrics#3356</a></li> <li>Update dependency org.apache.felix:maven-bundle-plugin to v5.1.9 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3358">dropwizard/metrics#3358</a></li> <li>Update dependency org.apache.maven.plugins:maven-source-plugin to v3.3.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3369">dropwizard/metrics#3369</a></li> <li>Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.3.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3371">dropwizard/metrics#3371</a></li> <li>Update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.6.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/dropwizard/metrics/pull/3372">dropwizard/metrics#3372</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dropwizard/metrics/commit/5b9ab08b4e5dcb748f95245dad2cc70076abc199"><code>5b9ab08</code></a> [maven-release-plugin] prepare release v4.2.19</li> <li><a href="https://github.com/dropwizard/metrics/commit/5abe0ed4e375d145be7f7490027c2b8e8305d3c0"><code>5abe0ed</code></a> Add workflow to trigger a new release</li> <li><a href="https://github.com/dropwizard/metrics/commit/6cc440a658562d2a820a8ce3d7c152a925f01688"><code>6cc440a</code></a> Fix NPE in InstrumentedHandler#doStop (Jetty 9, 10, 11) (<a href="https://redirect.github.com/dropwizard/metrics/issues/3379">#3379</a>)</li> <li><a href="https://github.com/dropwizard/metrics/commit/8cd308b3381715d651d05fa4b2824cbb24e52c72"><code>8cd308b</code></a> Generate metadata for reflection on method parameters (<a href="https://redirect.github.com/dropwizard/metrics/issues/3377">#3377</a>)</li> <li><a href="https://github.com/dropwizard/metrics/commit/07f47a3fce4d5127a1e512be27b034d8ef023aeb"><code>07f47a3</code></a> Update dependency org.apache.maven.plugins:maven-project-info-reports-plugin ...</li> <li><a href="https://github.com/dropwizard/metrics/commit/b9464a29488cf55083d422607874268783741112"><code>b9464a2</code></a> Fix build with maven-source-plugin</li> <li><a href="https://github.com/dropwizard/metrics/commit/96a8d8eac2e74c24032757cf67255f16a59e2545"><code>96a8d8e</code></a> Update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.6.0 ...</li> <li><a href="https://github.com/dropwizard/metrics/commit/2241714ecf202e0a032042e14269d317f03f5318"><code>2241714</code></a> Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.3.0 ...</li> <li><a href="https://github.com/dropwizard/metrics/commit/d7b813f1ff19ab8d9cfd1af97079180b837b6fb2"><code>d7b813f</code></a> Update dependency org.apache.maven.plugins:maven-source-plugin to v3.3.0 (<a href="https://redirect.github.com/dropwizard/metrics/issues/3369">#3369</a>)</li> <li><a href="https://github.com/dropwizard/metrics/commit/0e8c3ce7ae0e0d400497d22f66935565fd7f0677"><code>0e8c3ce</code></a> Update dependency org.apache.felix:maven-bundle-plugin to v5.1.9</li> <li>Additional commits viewable in <a href="https://github.com/dropwizard/metrics/compare/v3.1.2...v4.2.19">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.dropwizard.metrics:metrics-core&package-manager=gradle&previous-version=3.1.2&new-version=4.2.19)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…h-project#3072) Bumps org.gradle.test-retry from 1.5.2 to 1.5.4. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.gradle.test-retry&package-manager=gradle&previous-version=1.5.2&new-version=1.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…earch-project#3051) ### Description Adds 2 ip2geo related roles to the plugin: read only and fully access. Adds ip2geo system index to demo scripts as well. Signed-off-by: Heemin Kim <[email protected]>
There have been improvements including adding a label to a pull request when any backport on it has failed. - Related VachaShah/backport#8 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Maciej Mierzwa <[email protected]>
MaciejMierzwa
force-pushed
the
authorize-rest-requests_audit_log_test
branch
from
August 1, 2023 16:46
0dcabb0
to
bcbd2a0
Compare
…or in #9006 (opensearch-project#3082) This PR reacts to changes introduced in core in this PR: opensearch-project/OpenSearch#9006 Signed-off-by: Craig Perkins <[email protected]>
…-project#3091) ### Description This PR fixed `TransportAddress` imports after core refactor in [#9073](opensearch-project/OpenSearch#9073) ### Testing [Please provide details of testing done: unit testing, integration testing and manual testing] ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Andrey Pleskach <[email protected]>
### Description Add release notes for 1.3.12.0 * Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation) Documentation ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Craig Perkins <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adding tests for 2700, relevant PR: #5. Extension initialization changed a little since the initial PR got merged, so I used one of the existing integration test cases that hit the same SecurityRestFilter and registered namedRoute.
Issues Resolved
2700
Testing
integration testing
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.