Skip to content

Conversation

@mosche
Copy link
Contributor

@mosche mosche commented Feb 26, 2025

Skip selected tests in SSLErrorMessageFileTests that rely on SecurityManager to block access to resources.
Entitlement checks are not enabled for unit tests, but only when running Elasticsearch (e.g. in REST tests).

Relates to #121960

@mosche mosche added >test Issues or PRs that are addressing/adding tests :Security/Security Security issues without another label auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Feb 26, 2025
@mosche mosche requested review from a team and n1v0lg February 26, 2025 11:26
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@elasticsearchmachine elasticsearchmachine added the Team:Security Meta label for security team label Feb 26, 2025
Copy link
Contributor

@n1v0lg n1v0lg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- as noted in the linked issue we also need to update prod code to handle NotEntitledException type exceptions.

@mosche mosche added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Feb 26, 2025
@mosche mosche merged commit 7e554fa into elastic:main Feb 26, 2025
17 of 18 checks passed
@mosche mosche deleted the SSLErrorMessageFileTests_JDK24 branch February 26, 2025 15:48
mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
…Manager to block access to resources. (elastic#123484)

(cherry picked from commit 7e554fa)
mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
…Manager to block access to resources. (elastic#123484)

(cherry picked from commit 7e554fa)
mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
@mosche
Copy link
Contributor Author

mosche commented Feb 26, 2025

💚 All backports created successfully

Status Branch Result
8.x
9.0
8.18

Questions ?

Please refer to the Backport tool documentation

mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0

mosche added a commit to mosche/elasticsearch that referenced this pull request Feb 26, 2025
…Manager to block access to resources. (elastic#123484)

(cherry picked from commit 7e554fa)
elasticsearchmachine pushed a commit that referenced this pull request Feb 26, 2025
mosche added a commit that referenced this pull request Feb 27, 2025
elasticsearchmachine pushed a commit that referenced this pull request Feb 27, 2025
…Manager to block access to resources. (#123484) (#123511)

(cherry picked from commit 7e554fa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Security/Security Security issues without another label Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants