kibana/docs
Jesus Wahrman 23b7f0fb33
[HTTP] Log deprecated api usages (#207904)
## Summary

Resolves https://github.com/elastic/kibana/issues/199616

Added a debug logger when calling deprecated APIs. This logger is
disabled by default, to enable it you have to set
`deprecation.enable_http_debug_logs: true`.

To test this you can play with the config value and do a request like
this to a deprecated endpoint:

```shell
#!/bin/bash
API_KEY=""
curl -X GET "http://localhost:5601/api/cases/status" -i \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey $API_KEY"
``` 


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2025-01-28 15:28:14 +01:00
..
api [UA] Allows upgrades on cloud for minor versions (#208309) 2025-01-27 12:11:47 -07:00
canvas [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) 2024-11-08 11:10:32 +01:00
concepts [Discover] Rename Saved Search to Discover Session (#202217) 2024-12-18 13:45:32 +01:00
dev-tools [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) 2024-11-08 11:10:32 +01:00
developer SKA: Update broken references and URLs (#206836) 2025-01-28 03:32:48 +00:00
development/plugins/expressions/public Remove old doc generation system for core APIs (#134313) 2022-06-21 17:43:17 +02:00
discover [Discover] Clean up leftover "saved search" references (#208295) 2025-01-27 14:01:22 -04:00
fleet [Discover] Rename Saved Search to Discover Session (#202217) 2024-12-18 13:45:32 +01:00
getting-started [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) 2024-11-08 11:10:32 +01:00
management Remove complex tables (#207911) 2025-01-27 16:09:05 +00:00
maps [Docs] Update certain references to cloud and ESS due to serverless GA (#202184) 2024-11-28 16:53:56 +01:00
migration [Docs] Reset release files for 9.0 (#199519) 2024-11-22 10:24:10 +01:00
observability Remove APM documentation from Kibana repo and Guide (#179981) 2024-08-06 20:08:07 +00:00
osquery Remove complex tables (#207911) 2025-01-27 16:09:05 +00:00
search Remove complex tables (#207911) 2025-01-27 16:09:05 +00:00
settings [HTTP] Log deprecated api usages (#207904) 2025-01-28 15:28:14 +01:00
settings-gen [Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787) 2025-01-07 12:53:09 -05:00
setup [HTTP] Log deprecated api usages (#207904) 2025-01-28 15:28:14 +01:00
siem (Doc-) duplicate sections to SIEM docs (#188376) 2024-08-08 16:45:22 -04:00
spaces Corrects the default max spaces in non-serverless docs (#203857) 2024-12-16 14:40:13 +00:00
user [DOCS] Clarify alerting API key management (#208292) 2025-01-27 14:56:07 -08:00
accessibility.asciidoc
action-type-template.asciidoc Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops (#202836) 2024-12-26 15:49:50 +01:00
CHANGELOG.asciidoc [ResponseOps][Alerting] Add deprecation object to legacy rule endpoints (#201550) 2024-11-28 08:45:11 +01:00
gs-index.asciidoc [DOCS] Remove or move book-scoped attributes (#155210) 2023-04-20 09:12:09 -07:00
index.asciidoc [Docs] remove Kibana book-scoped variables (#178676) 2024-03-14 11:53:33 -04:00
index.x.asciidoc
landing-page.asciidoc [DOCS] Search landing page updates (#196131) 2024-10-14 15:53:21 +02:00
limitations.asciidoc
migration.asciidoc [Docs] Reset release files for 9.0 (#199519) 2024-11-22 10:24:10 +01:00
redirects.asciidoc Sustainable Kibana Architecture: Move modules owned by @elastic/response-ops (#202836) 2024-12-26 15:49:50 +01:00
rule-type-template.asciidoc [DOCS] Create and manage rule action frequencies (#150957) 2023-02-23 13:16:46 -08:00
template.asciidoc [DOCS] Remove snapshot and restore docs (#114836) 2021-11-16 16:59:24 -05:00
upgrade-notes.asciidoc SKA: Update broken references and URLs (#206836) 2025-01-28 03:32:48 +00:00