Get Incident List from Microsoft 365 Defender

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Incident List from Microsoft 365 Defender

L0 Member

Hi Team,

I want to get the events between the dates I give from Microsoft 356 Defender. In the ‘microsoft-365-defender-incidents-list’ command, the limit is set to maximum 100. What should I do to make the limit unlimited?


The command:

test_data ={’$filter": “createdTime gt 2024-03-16T06:00:00.29Z and createdTime lt 2024-07-22T09:00:00.29Z”}
execute_command(‘microsoft-365-defender-incidents-list’, {‘status’: ‘Resolved’, ‘odata’:test_data})

 

In addition, I can send the current query according to the created time from the incoming data, but I want to learn if there is a known method such as limit=-1, not with a loop.

 

Best Regards,

#Microsoft365Defender Cortex XSOAR 

1 REPLY 1

L2 Linker

That's the neat part: you can't!

In the reference documentation for the 365 Defender integration, for the "incidents-list" command the default, and maximum, is 100.
You can change it to be less, but not more.
https://xsoar.pan.dev/docs/reference/integrations/microsoft-365-defender#microsoft-365-defender-inci...

  • 590 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!