[8.x] Deprecated authRequired in favor of security.authc.enabled (#202414) (#203531)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Deprecated authRequired in favor of security.authc.enabled
(#202414)](https://github.com/elastic/kibana/pull/202414)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Elena
Shostak","email":"165678770+elena-shostak@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-10T10:24:41Z","message":"Deprecated
authRequired in favor of security.authc.enabled (#202414)\n\n##
Summary\r\n\r\nDeprecated `authRequired` in favor of
`security.authc.enabled`.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n__Closes:
https://github.com/elastic/kibana/issues/191711__\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4feed672e3c890214213c95033729334310fedf6","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","Feature:Security/Authentication","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Deprecated
authRequired in favor of
security.authc.enabled","number":202414,"url":"https://github.com/elastic/kibana/pull/202414","mergeCommit":{"message":"Deprecated
authRequired in favor of security.authc.enabled (#202414)\n\n##
Summary\r\n\r\nDeprecated `authRequired` in favor of
`security.authc.enabled`.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n__Closes:
https://github.com/elastic/kibana/issues/191711__\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4feed672e3c890214213c95033729334310fedf6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202414","number":202414,"mergeCommit":{"message":"Deprecated
authRequired in favor of security.authc.enabled (#202414)\n\n##
Summary\r\n\r\nDeprecated `authRequired` in favor of
`security.authc.enabled`.\r\n\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n__Closes:
https://github.com/elastic/kibana/issues/191711__\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4feed672e3c890214213c95033729334310fedf6"}}]}]
BACKPORT-->

Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2024-12-10 23:22:17 +11:00 committed by GitHub
parent 2b73638b05
commit e08b3a76d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 7 deletions

View file

@ -45,7 +45,6 @@ interface KibanaRequest {
path: string;
method: 'get' | 'post' | ...
options: {
authRequired: boolean;
tags: string [];
}
}