I am attempting to update an Azure Sentinel incident label using msticpy. I can successfully modify other properties, but labels is not accepting the API call. Could anyone provide insight?
环境
• 机器学习室说明
缩略语
from msticpy.data.azure import AzureData, MicrosoftSentinel
azs = MicrosoftSentinel()
azs.connect()
azs.update_incident(incident_id = "INCIDENTID8", update_items = { labels :
[{ labelName : test , labelType : User }]})
错误:
HTTPStatus错误: Client error 400 Bad Request for url https://management.azure.com/subscriptions/SUBSCRIPTIONID/resourceGroups/RESOURCEGROUP/providers/Microsoft.OperationalInsights/workspaces/WORKSPACE/providers/Microsoft.SecurityInsights/incidents/INCIDENTID?api-version=2020-01-01 For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400