-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added deprecated msg to cache API configuration. #7106
Conversation
@@ -285,6 +285,8 @@ cache | |||
| time | Any positive integer or real number | 0.75 | Time in seconds that the cache lasts before expiring. | | |||
+------------+--------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------+ | |||
|
|||
.. deprecated:: 4.8.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd put it below the cache
title since it's not clear if we are depecating that or _api_configuration_access
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cache
^^^^^
.. deprecated:: 4.8.0
+------------+--------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------+
| Sub-fields | Allowed values | Default value | Description |
+============+======================================+===============+======================================================================================================================+
| enabled | yes, true, no, false | true | Enable or disable caching for certain Wazuh API responses (currently, all :api-ref:`rules endpoints <tag/Rules>` ) |
+------------+--------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------+
| time | Any positive integer or real number | 0.75 | Time in seconds that the cache lasts before expiring. |
+------------+--------------------------------------+---------------+----------------------------------------------------------------------------------------------------------------------+
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit eac06b4.
Description
Added deprecated message to
cache
API configuration option.