Mar 09 2022 03:39 AM
Is there a way to do a bulk delete of all indicators? I have the DShieldScanningIPs source with over 100 thousand IP and I'd like to delete them all but it appears I can only delete 100 of them at a time. This will take a while.
Mar 09 2022 04:22 AM
@william890 If it is old data you want to get rid of and you always only want to keep the newer data you can set data type retention: Manage usage and costs for Azure Monitor Logs - Azure Monitor | Microsoft Docs
This way you can set your table to only hold 30 days for example, while the other tables will still retain 90 days
Mar 09 2022 04:39 AM
@Gary Bushey No, I want to get rid of all data from Threat Intelligence from a specific source (in this case "DShieldScanningIPs") which is no longer useful for me. I still have other sources data that I want to keep.
Mar 12 2022 04:50 PM
Mar 14 2022 09:52 AM
@william890 How comfortable are you with making REST API calls? The call to delete a single IOC is:
https://management.azure.com/subscriptions/<Subscription>/resourceGroups/>ResourceGroup>/providers/Microsoft.OperationalInsights/workspaces/<workspacename>/providers/Microsoft.SecurityInsights/threatintelligence/main/indicators/<indicatorGUID>?api-version=2019-01-01-preview
There is also a "queryIndicators" call that will allow you to filter what you see by source and other properties. Go to azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/prev... for more information on it.