Skip to content

Comments

chore(security, tests): log a warning in tests if deprecated feature …privilege is replaced with more privileges than necessary#226473

Merged
azasypkin merged 3 commits intoelastic:mainfrom
azasypkin:issue-xxx-deprecated-features-warn
Jul 7, 2025
Merged

chore(security, tests): log a warning in tests if deprecated feature …privilege is replaced with more privileges than necessary#226473
azasypkin merged 3 commits intoelastic:mainfrom
azasypkin:issue-xxx-deprecated-features-warn

Conversation

@azasypkin
Copy link
Contributor

@azasypkin azasypkin commented Jul 3, 2025

Summary

Log a warning in tests if deprecated feature …privilege is replaced with more privileges than necessary. It can come in handy when we review feature deprecation PRs and want to quickly check CI test logs for early signs of problems.

See example output in #225678 (review)

…privilege is replaced with more privileges than necessary
@azasypkin azasypkin added test chore Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// release_note:skip Skip the PR/issue when compiling release notes backport:prev-major labels Jul 3, 2025
@azasypkin azasypkin changed the title chore(security, tests): chore(security, tests): log a warning in tests if deprecated feature …privilege is replaced with more privileges than necessary Jul 3, 2025
@azasypkin
Copy link
Contributor Author

@elasticmachine merge upstream

@azasypkin
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@azasypkin azasypkin marked this pull request as ready for review July 7, 2025 10:38
@azasypkin azasypkin requested a review from a team as a code owner July 7, 2025 10:38
@elasticmachine
Copy link
Contributor

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

@azasypkin azasypkin merged commit 89c5382 into elastic:main Jul 7, 2025
11 checks passed
@azasypkin azasypkin deleted the issue-xxx-deprecated-features-warn branch July 7, 2025 11:52
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.17, 8.18, 8.19

https://github.com/elastic/kibana/actions/runs/16116163920

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 7, 2025
…privilege is replaced with more privileges than necessary (elastic#226473)

## Summary

Log a warning in tests if deprecated feature …privilege is replaced with
more privileges than necessary. It can come in handy when we review
feature deprecation PRs and want to quickly check CI test logs for early
signs of problems.

See example output in
elastic#225678 (review)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 89c5382)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 7, 2025
…privilege is replaced with more privileges than necessary (elastic#226473)

## Summary

Log a warning in tests if deprecated feature …privilege is replaced with
more privileges than necessary. It can come in handy when we review
feature deprecation PRs and want to quickly check CI test logs for early
signs of problems.

See example output in
elastic#225678 (review)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 89c5382)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 7, 2025
…privilege is replaced with more privileges than necessary (elastic#226473)

## Summary

Log a warning in tests if deprecated feature …privilege is replaced with
more privileges than necessary. It can come in handy when we review
feature deprecation PRs and want to quickly check CI test logs for early
signs of problems.

See example output in
elastic#225678 (review)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 89c5382)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.17
8.18
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 7, 2025
…eature privilege is replaced with more privileges than necessary (#226473) (#226790)

# Backport

This will backport the following commits from `main` to `8.17`:
- [chore(security, tests): log a warning in tests if deprecated feature
privilege is replaced with more privileges than necessary
(#226473)](#226473)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-07-07T11:52:08Z","message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","chore","Team:Security","release_note:skip","backport:prev-major","v9.2.0"],"title":"chore(security,
tests): log a warning in tests if deprecated feature …privilege is
replaced with more privileges than
necessary","number":226473,"url":"https://github.com/elastic/kibana/pull/226473","mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226473","number":226473,"mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 7, 2025
…eature privilege is replaced with more privileges than necessary (#226473) (#226792)

# Backport

This will backport the following commits from `main` to `8.19`:
- [chore(security, tests): log a warning in tests if deprecated feature
privilege is replaced with more privileges than necessary
(#226473)](#226473)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-07-07T11:52:08Z","message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","chore","Team:Security","release_note:skip","backport:prev-major","v9.2.0"],"title":"chore(security,
tests): log a warning in tests if deprecated feature …privilege is
replaced with more privileges than
necessary","number":226473,"url":"https://github.com/elastic/kibana/pull/226473","mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226473","number":226473,"mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 7, 2025
…eature privilege is replaced with more privileges than necessary (#226473) (#226791)

# Backport

This will backport the following commits from `main` to `8.18`:
- [chore(security, tests): log a warning in tests if deprecated feature
privilege is replaced with more privileges than necessary
(#226473)](#226473)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-07-07T11:52:08Z","message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","chore","Team:Security","release_note:skip","backport:prev-major","v9.2.0"],"title":"chore(security,
tests): log a warning in tests if deprecated feature …privilege is
replaced with more privileges than
necessary","number":226473,"url":"https://github.com/elastic/kibana/pull/226473","mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226473","number":226473,"mergeCommit":{"message":"chore(security,
tests): log a warning in tests if deprecated feature privilege is
replaced with more privileges than necessary (#226473)\n\n##
Summary\n\nLog a warning in tests if deprecated feature …privilege is
replaced with\nmore privileges than necessary. It can come in handy when
we review\nfeature deprecation PRs and want to quickly check CI test
logs for early\nsigns of problems.\n\nSee example output
in\nhttps://github.com//pull/225678#pullrequestreview-2984050064\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"89c5382d54541d5769dfb51694f3fa122177f57d"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…privilege is replaced with more privileges than necessary (elastic#226473)

## Summary

Log a warning in tests if deprecated feature …privilege is replaced with
more privileges than necessary. It can come in handy when we review
feature deprecation PRs and want to quickly check CI test logs for early
signs of problems.

See example output in
elastic#225678 (review)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore release_note:skip Skip the PR/issue when compiling release notes Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// test v8.17.9 v8.18.4 v8.19.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants