fix: [console:ls22shell] Added includeWarninglistHits parameter in restSearch query

pull/9044/head
Sami Mokaddem 2023-04-20 15:19:57 +02:00
parent 5b086e9dea
commit 8d244bc981
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 1 deletions

View File

@ -462,7 +462,8 @@ class Ls22Shell extends AppShell
$event_uuid_per_org = [];
foreach ($org_mapping as $org_name => $org_id) {
$params = [
'org' => $org_id
'org' => $org_id,
'includeWarninglistHits' => true,
];
if (!empty($time_range)) {
$params['publish_timestamp'] = $time_range;