{"id":79,"date":"2024-01-12T09:45:53","date_gmt":"2024-01-12T09:45:53","guid":{"rendered":"https:\/\/cyber-resilience.mobi\/?p=79"},"modified":"2024-01-12T10:04:43","modified_gmt":"2024-01-12T10:04:43","slug":"requete-de-creation-dapi-suspecte","status":"publish","type":"post","link":"https:\/\/cyber-resilience.mobi\/?p=79","title":{"rendered":"KQL Requ\u00eate de cr\u00e9ation d&rsquo;API suspecte"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>CloudAppEvents\r\n| where ActionType in (\"Add application.\", \"Add service principal.\")\r\n| mvexpand modifiedProperties = RawEventData.ModifiedProperties\r\n| where modifiedProperties.Name == \"AppAddress\"\r\n| extend AppAddress = tolower(extract('\\\"Address\\\": \\\"(.*)\\\",',1,tostring(modifiedProperties.NewValue)))\r\n| mvexpand ExtendedProperties = RawEventData.ExtendedProperties\r\n| where ExtendedProperties.Name == \"additionalDetails\"\r\n| extend OAuthApplicationId = tolower(extract('\\\"AppId\\\":\\\"(.*)\\\"',1,tostring(ExtendedProperties.Value)))\r\n| project Timestamp, ReportId, AccountObjectId, Application, ApplicationId, OAuthApplicationId, AppAddress<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[21,18,19],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-kql","tag-defender","tag-kql","tag-kusto"],"_links":{"self":[{"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":2,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyber-resilience.mobi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}