Skip to content

Commit

Permalink
Fix limit property in wazuh-api controller (#4971)
Browse files Browse the repository at this point in the history
* Fix limir property of request

* Add changelog

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 7d66538)
  • Loading branch information
asteriscos authored and github-actions[bot] committed Dec 14, 2022
1 parent f8bfa5e commit 14cf943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed a bug where the Wazuh logo was used instead of the custom one [#4539](https:/wazuh/wazuh-kibana-app/pull/4539)
- Fixed rendering problems of the `Agent Overview` section in low resolutions [#4516](https:/wazuh/wazuh-kibana-app/pull/4516)
- Fixed issue when logging out from Wazuh when SAML is enabled [#4595](https:/wazuh/wazuh-kibana-app/issues/4595)
- Fixed server errors with code 500 when the Wazuh API is not reachable / up. [#4710](https:/wazuh/wazuh-kibana-app/pull/4710) [#4728](https:/wazuh/wazuh-kibana-app/pull/4728)
- Fixed server errors with code 500 when the Wazuh API is not reachable / up. [#4710](https:/wazuh/wazuh-kibana-app/pull/4710) [#4728](https:/wazuh/wazuh-kibana-app/pull/4728) [#4971](https:/wazuh/wazuh-kibana-app/pull/4971)
- Fixed pagination to SCA table [#4653](https:/wazuh/wazuh-kibana-app/issues/4653)
- Fixed WAZUH_PROTOCOL param suggestion [#4849](https:/wazuh/wazuh-kibana-app/pull/4849)
- Raspbian OS, Ubuntu, Amazon Linux and Amazon Linux 2 commands in the wizard deploy agent now change when a different architecture is selected [#4876](https:/wazuh/wazuh-kibana-app/pull/4876) [#4880](https:/wazuh/wazuh-kibana-app/pull/4880)
Expand Down
2 changes: 1 addition & 1 deletion server/controllers/wazuh-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ export class WazuhApiCtrl {

log('wazuh-api:csv', `Report ${tmpPath}`, 'debug');
// Real limit, regardless the user query
const params = { limit: HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR };
const params = { limit: 500 };

if (filters.length) {
for (const filter of filters) {
Expand Down

0 comments on commit 14cf943

Please sign in to comment.