Skip to content

Commit

Permalink
[Security Solution][List details page]: Fix number of linked rules co…
Browse files Browse the repository at this point in the history
…unt (#145976)

## Summary

- Addresses #145807
- Getting all Rules by passing all the pagination object as in the Rule
Exceptions page
  • Loading branch information
WafaaNasr authored Nov 22, 2022
1 parent 05dbc91 commit cd8dc11
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export const getListRules = async (listId: string) => {
const abortCtrl = new AbortController();
const { data: rules } = await fetchRules({
signal: abortCtrl.signal,
pagination: {
page: 1,
perPage: 10000,
},
});
abortCtrl.abort();
return rules.reduce((acc: Rule[], rule, index) => {
Expand Down

0 comments on commit cd8dc11

Please sign in to comment.