Skip to content
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

[Backport 4.4-7.10] Fix limit property in wazuh-api controller #4998

Merged
merged 2 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) [#4998](https:/wazuh/wazuh-kibana-app/pull/4998)
- 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