Skip to content

Conversation

@ywangd
Copy link
Member

@ywangd ywangd commented Oct 20, 2020

The officially supported way to clearing all entries from a cache is to use wildcard of either * or _all. Though empty string has the same effect, it was never intended. Therefore the tests should not use empty string. This PR changes them to use *.

Resolves: #63885

@ywangd ywangd added >test Issues or PRs that are addressing/adding tests :Security/Security Security issues without another label v8.0.0 v7.10.0 v7.11.0 labels Oct 20, 2020
@ywangd ywangd requested review from Mpdreamz and tvernum October 20, 2020 07:00
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Security Meta label for security team label Oct 20, 2020
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

Ty! Lgtm

Copy link
Contributor

@tvernum tvernum left a comment

Choose a reason for hiding this comment

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

LGTM

@ywangd ywangd merged commit 7f91af5 into elastic:master Oct 21, 2020
ywangd added a commit to ywangd/elasticsearch that referenced this pull request Oct 21, 2020
…stic#63907)

The officially supported way to clearing all entries from a cache is to use 
wildcard of either * or _all. Though empty string has the same effect, it was
never intended. Therefore the tests should not use empty string and this PR
changes them to use *.
ywangd added a commit to ywangd/elasticsearch that referenced this pull request Oct 21, 2020
…stic#63907)

The officially supported way to clearing all entries from a cache is to use 
wildcard of either * or _all. Though empty string has the same effect, it was
never intended. Therefore the tests should not use empty string and this PR
changes them to use *.
ywangd added a commit that referenced this pull request Oct 21, 2020
) (#63989)

The officially supported way to clearing all entries from a cache is to use 
wildcard of either * or _all. Though empty string has the same effect, it was
never intended. Therefore the tests should not use empty string and this PR
changes them to use *.
ywangd added a commit that referenced this pull request Oct 21, 2020
) (#63988)

The officially supported way to clearing all entries from a cache is to use 
wildcard of either * or _all. Though empty string has the same effect, it was
never intended. Therefore the tests should not use empty string and this PR
changes them to use *.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Security/Security Security issues without another label Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v7.10.0 v7.11.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security.clear_api_key_cache does not document all routes.

5 participants