%3CLINGO-SUB%20id%3D%22lingo-sub-1129268%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20Azure%20Sentinel%3A%20APIs%2C%20Integration%20and%20management%20automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1129268%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EThank%20you%20for%20the%20POST%20as%20I%20am%20trying%20to%20get%20up%20to%20speed%20on%20this%20service%20offering.%26nbsp%3B%20~%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.linkedin.com%2Fin%2Fbrentmorrisinrtp%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.linkedin.com%2Fin%2Fbrentmorrisinrtp%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1341053%22%20slang%3D%22en-US%22%3ERe%3A%20Extending%20Azure%20Sentinel%3A%20APIs%2C%20Integration%20and%20management%20automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1341053%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293879%22%20target%3D%22_blank%22%3E%40Ofer_Shezaf%3C%2FA%3E%26nbsp%3BI%20would%20like%20to%20know.%20Whether%20a%20plan%20to%20introduce%20the%20connector%20tenable.io%20in%20sentinel%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1116885%22%20slang%3D%22en-US%22%3EExtending%20Azure%20Sentinel%3A%20APIs%2C%20Integration%20and%20management%20automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1116885%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20of%20the%20biggest%20advantages%20of%20the%20cloud%20in%20general%20and%20Azure%20Sentinel%2C%20in%20particular%2C%20is%20being%20API%20focused.%20SIEM%20products%20are%20integration%20savvy%2C%20whether%20with%20telemetry%20sources%20or%20with%20other%20management%20platforms.%20The%20cloud%20makes%20automating%20this%20integration%20critical%20to%20tackling%20the%20ephemeral%20nature%20of%20resources.%20In%20this%20evolving%20blog%20post%2C%20we%20will%20cover%20Azure%20Sentinel%20integration%20and%20automation%20capabilities.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1415355430%22%20id%3D%22toc-hId--1415355430%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EData%20integration%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20Sentinel%20uses%20Azure%20Log%20Analytics%20for%20log%20management%20and%20the%20Log%20Analytics%20APIs%20serve%20Azure%20Sentinel.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--724793956%22%20id%3D%22toc-hId--724793956%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20Query%20API%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20Sentinel%20enables%20easy%20and%20fast%20API%20access%20to%20the%20workspace%2C%20Azure%20Sentinel's%20primary%20data%20store.%20This%20enables%20you%20to%20use%20Azure%20Sentinel%20as%20your%20data%20lake%20and%20build%20your%20own%20algorithms%20and%20applications%20over%20the%20data.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ETo%20do%20that%2C%20send%20your%20KQL%20queries%20using%20the%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Floganalytics%2Fquery%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELog%20Analytics%20query%20API.%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3CSPAN%20data-preserver-spaces%3D%22true%22%3ETo%20learn%20more%20about%20how%20to%20use%20the%20query%20API%2C%20which%20is%20part%20of%20Azure%20REST%20API%2C%20you%20might%20want%20to%20read%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fazure%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Egetting%20started%20with%20Azure%20REST%20API%2C%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bor%20read%20Rin%20Ure's%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Faccess-azure-sentinel-log-analytics-via-api-part-1%2Fba-p%2F1248377%22%20target%3D%22_self%22%3Egreat%20write%20up%20on%20how%20to%20use%20the%20API%3C%2FA%3E.%20There%20are%20some%20tools%20that%20already%20use%20the%20API%20and%20can%20make%20life%20simpler%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FInvoke-AzOperationalInsightsQueryExport%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EPowerShell%3C%2FSPAN%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bscript%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3B-%20now%20includes%20CSV%20export%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Faz.operationalinsights%2Fget-azoperationalinsightssearchresult%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EPowerShell%20cmdlet%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fext%2Flog-analytics%2Fmonitor%2Flog-analytics%3Fview%3Dazure-cli-latest%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20CLI%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fconnectors%2Fazuremonitorlogs%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELogic%20Apps%20Azure%20Monitor%20logs%20connector%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAlso%2C%20in%20addition%20to%20ingested%20event%20data%2C%20the%20Azure%20Sentinel%20workspace%20stores%20alerts%20in%20the%20SecurityAlert%20table%20and%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsentinel%2Fbookmarks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Ebookmarks%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bin%20the%20HuntingBookmark%20table%2C%20which%20can%20be%20accessed%20using%20the%20query%20API.%20Incidents%20are%20not%20stored%20in%20the%20workspace%20but%20can%20be%20read%20using%20the%20management%20API%20discussed%20below.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1762718877%22%20id%3D%22toc-hId-1762718877%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20Data%20Collector%20API%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EYou%20can%20ingest%20data%20to%20Azure%20Sentinel%20using%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fplatform%2Fdata-collector-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELog%20Analytics%20Data%20Collector%20API%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%20You%20can%20directly%20use%20the%20API%20using%20your%20preferred%20programming%20language%2C%20but%20also%20use%20tools%20such%20as%20the%20Log%20Analytics%20agent%2C%20Logstash%20and%20Logic%20Apps%20without%20programming.%20The%20API%20and%20the%20different%20ways%20to%20use%20it%20are%20discussed%20in%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fazure-sentinel-creating-custom-connectors%2Fba-p%2F864060%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Ecustom%20connectors%20blog%20post%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--44735586%22%20id%3D%22toc-hId--44735586%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20Graph%20Security%20API%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20Graph%20Security%20API%20offers%20a%20direct%20interface%2C%20which%20may%20be%20easier%20to%20use%20for%20special%20popular%20data%20access%20use%20cases%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ERead%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fsecurity-api-overview%3Fview%3Dgraph-rest-1.0%23alerts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20Sentinel's%20alerts%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsentinel%2Fconnect-threat-intelligence%23connect-azure-sentinel-to-your-threat-intelligence-platform%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EIngest%20TI%20to%20Azure%20Sentinel%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Butilizing%20the%20built-in%20TI%20based%20analytics%20without%20modifications.%20Note%20that%20this%20cannot%20be%20achieved%20with%20the%20data%20collector%20API%20as%20it%20writes%20to%20custom%20tables%20rather%20than%20to%20the%20standard%20TI%20table%2C%20ThreatIntelligenceIndicator.%20See%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fingesting-alien-vault-otx-threat-indicators-into-azure-sentinel%2Fba-p%2F1086566%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Ethis%20blog%20post%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bas%20an%20example.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--55238690%22%20id%3D%22toc-hId--55238690%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EManagement%20integration%20and%20automation%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EUsing%20automation%20for%20deployment%20and%20management%20is%20always%20a%20cost%20saver.%20For%20the%20cloud%2C%20in%20which%20resources%20are%20often%20ephemeral%2C%20automation%20is%20ever%20more%20important%2C%20and%20the%20same%20applies%20to%20service%20providers%20which%20need%20to%20on%20and%20off-board%20customers%20as%20efficiently%20as%20possible.%20Management%20APIs%20are%20also%20important%20to%20tie%20processes%2C%20and%20not%20just%20data%2C%20into%20other%20systems%20in%20the%20organization%20such%20as%20a%20service%20provider's%20portal%2C%20a%20workflow%20system%20or%20a%20ticketing%20system.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSTRONG%3EThe%20Azure%20Sentinel%20management%20API%20documentation%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fsecurityinsights%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere.%3C%2FA%3E%3CBR%20%2F%3ESwagger%20and%20example%20files%20can%20be%20found%20%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Ftree%2Fmaster%2Fspecification%2Fsecurityinsights%2Fresource-manager%2FMicrosoft.SecurityInsights%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FSTRONG%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%3CSTRONG%3E.%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELooking%20to%20include%20the%20API%20calls%20in%20an%20ARM%20template%3F%20the%20newly%20introduced%20scripting%20capability%20within%20ARM%20templates%20enables%20including%20any%20Sentinel%20API%20call%20in%20an%20ARM%20template.%20For%20more%20details%20refer%20to%20%E2%80%9C%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fmyignite.techcommunity.microsoft.com%2Fsessions%2F84122%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EExtending%20Azure%20Resource%20Manager%20(ARM)%2C%20Azure's%20control%20plane%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%E2%80%9D%20from%20Ignite%202019%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAs%20mentioned%20before%2C%20the%20API%20allows%20access%20to%20incident%20data%2C%20not%20available%20through%20the%20query%20API.%20You%20can%20find%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fazsec.azurewebsites.net%2F2020%2F03%2F18%2Fquick-look-at-new-azure-sentinel-incident-api%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Eexport%20all%20incidents%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bscript%20a%20useful%20example%20for%20doing%20that.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-635322784%22%20id%3D%22toc-hId-635322784%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAPI%20permissions%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20APIs%20use%20the%20same%20roles%20and%20permissions%20mechanism%20as%20does%20the%20portal.%20More%20details%20on%20Azure%20Sentinel%20roles%20and%20permissions%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsentinel%2Froles%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1172131679%22%20id%3D%22toc-hId--1172131679%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EUsing%20the%20API%20to%20retrieve%20and%20update%20incident%20information%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EWhile%20both%20alert%20and%20incident%20information%20is%20avaialable%20through%20the%20query%20API%20as%20they%20are%20stored%20in%20tables%20in%20the%20workspace%2C%20updating%20incidents%20requires%20using%20the%20management%20API.%20As%20a%20result%2C%20it%20is%20sometimes%20preferred%20to%20use%20the%20manamgenet%20API%20also%20to%20retrieve%20incident%20and%20alert%20informtion.%20Some%20useful%20examples%20that%20can%20help%20are%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fget-entities-for-a-sentinel-incidient-by-api%2Fm-p%2F1577267%22%20target%3D%22_self%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EGet%20entities%20for%20a%20Sentinel%20Incidient%20usint%20the%20API%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1315381154%22%20id%3D%22toc-hId-1315381154%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EUsing%20the%20management%20API%20to%20automate%20content%20deployment%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20most%20common%20use%20for%20the%20API%20is%20to%20automate%20the%20deployment%20and%20update%20of%20Analytics%20Alert%20Rules%20and%20hunting%20queries.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ETwo%20open-source%20implementations%20of%20the%20API%20you%20might%20find%20useful%20for%20this%20purpose%20are%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fsecurity.wortell.nl%2Ftimeline%2Fazure-sentinel-automating-your-use-cases-with-powershell-and-azsentinel%2Ftech%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAutomating%20analytics%20and%20hunting%20rules%20deployment%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Busing%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fwortell%2FAZSentinel%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzSentinel%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bcreated%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.wortell.nl%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EWortell%3C%2FA%3E.%20You%20can%20use%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FYaniv-Shasha%2FSentinel%2Ftree%2Fmaster%2FScripts%2FExport%2526Import_AnalyticsRules%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ethese%3C%2FA%3E%20scripts%20to%20export%20and%20import%20all%20rules%20from%20a%20workspace.%20If%20using%20the%20API%20directly%20to%20deploy%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Ea%20rule%20retrieved%20from%20another%20workspace%2C%20make%20sure%20you%20update%20the%20following%20JSON%20fields%3A%3C%2FSPAN%3E%0A%3CUL%3E%0A%3CLI%3EThe%20%3CSTRONG%3E%3CEM%3Eid%3C%2FEM%3E%3C%2FSTRONG%3E%20should%20be%20modified%20so%20it%20will%20fit%20the%20current%20workspace%20URI%3C%2FLI%3E%0A%3CLI%3EThe%20%3CSTRONG%3E%3CEM%3Eetag%20%3C%2FEM%3E%3C%2FSTRONG%3Eshould%20be%20cleared%3C%2FLI%3E%0A%3CLI%3EThe%20%3CSTRONG%3E%3CEM%3ElastModifiedUtc%3C%2FEM%3E%3C%2FSTRONG%3E%20should%20be%20removed%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3EWhen%20using%20any%20one%20of%20the%20scripts%20presented%20in%20this%20section%2C%20this%20is%20already%20handled%20for%20you.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%231c1e29%3B%22%3EJavier%20Soriano%20and%20Philippe%20Zenhaeusern%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%231c1e29%3B%22%3E%20have%20implemented%20a%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fdeploying-and-managing-azure-sentinel-as-code%2Fba-p%2F1131928%22%20target%3D%22_self%22%3ECI%2FCD%20flow%20using%20GitHub%2C%20Azure%20DevOps%2C%20and%20the%20Sentinel%20automation%20capabilities%3C%2FA%3E.%20It%20enables%20you%20to%20manage%20rules%2C%20queries%2C%20playbooks%2C%20workbooks%2C%20and%20more%20on%20GitHub%20and%20have%20them%20continuously%20deployed%20to%20your%20Sentinel%20workspace.%20You%20can%20even%20create%20a%20new%20workspace%20and%20connect%20it%20automatically.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20style%3D%22color%3A%20%231c1e29%3B%22%3EThey%20also%20discuss%20how%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fcombining-azure-lighthouse-with-sentinel-s-devops-capabilities%2Fba-p%2F1210966%23%22%20target%3D%22_self%22%3Eextend%20your%20CI%2FCD%20framework%20across%20workspaces%20and%20tenants%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId--492073309%22%20id%3D%22toc-hId--492073309%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CP%3EThe%20management%20API%20would%20also%20be%20the%20solution%20for%20backing%20up%20and%20restoring%20configuration.%20The%20automation%20PowerShell%20modules%20and%20scripts%20described%20above%20both%20read%20and%20write%20resources%20and%20therefore%2C%20can%20be%20used%20for%20backup%20and%20restore.%20Using%20CI%2FCD%20ensures%20that%20the%20master%20copy%20of%20the%20configuration%20is%20external%20to%20start%20with.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1995439524%22%20id%3D%22toc-hId-1995439524%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAutomated%20deployment%20and%20configuration%20for%20other%20resources%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAzure%20Sentinel%20uses%20other%20resources%20which%20are%20part%20of%20the%20Azure%20environment%20and%20for%20which%20you%20would%20need%20to%20use%20their%20own%20deployment%20automation%20mechanism%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EWorkbooks%3A%20use%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FApplication-Insights-Workbooks%2Fblob%2Fmaster%2FDocumentation%2FProgrammatically.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EARM%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%20To%20ensure%20the%20workbook%20is%20listed%20in%20Sentinel%3A%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ESet%20the%20sourceId%20to%20the%20workspace%20ID%20(should%20look%20similar%20to%20this%20%2Fsubscriptions%2F%E2%80%A6%20%2Fresourcegroups%2F%E2%80%A6%2Fproviders%2Fmicrosoft.operationalinsights%2Fworkspaces%2F%E2%80%A6)%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ESet%20the%20category%20to%20%E2%80%9Csentinel%E2%80%9D%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELogic%20App%20playbooks%3A%20use%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flogic-apps%2Flogic-apps-azure-resource-manager-templates-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EARM%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%20To%20ensure%20the%20playbook%20appears%20in%20Sentinel%3A%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EIt%20has%20to%20use%20the%20Sentinel%20trigger%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EBe%20in%20the%20same%20subscription%20as%20the%20workspace.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ESaved%20searches%20and%20functions%3A%20%3C%2FSPAN%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Floganalytics%2Fsavedsearches%2Fcreateorupdate%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAPI%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EPowershell%20Cmdlet%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Faz.operationalinsights%2Fnew-azoperationalinsightssavedsearch%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ecreate%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Faz.operationalinsights%2Fremove-azoperationalinsightssavedsearch%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eremove%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Faz.operationalinsights%2Fget-azoperationalinsightssavedsearch%3Fview%3Dazps-4.3.0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eget%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EConnectors%3A%3C%2FSPAN%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ESet%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Security-Center%2Ftree%2Fmaster%2FPowershell%2520scripts%2FSecurity%2520Event%2520collection%2520tier%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ESecurity%20Events%20collection%20tier%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EConfigure%20%3CA%20href%3D%22https%3A%2F%2Fblog.ctglobalservices.com%2Fpowershell%2Fjgs%2Fpowershell-setting-azure-active-directory-diagnostics-forwarding%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAAD%20to%20deliver%20to%20Audit%20and%20Signing%20logs%20to%20sentinel%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Network-Security%2Ftree%2Fmaster%2FAzure%2520Firewall%2FEnable%2520Diagnostic%2520Logging%2FPowershell%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EEnable%20Azure%20Firewall%20diagnostics%20using%20PowerShell%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Network-Security%2Ftree%2Fmaster%2FAzure%2520WAF%2FEnable%2520Diagnostic%2520Logging%2FPowershell%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EEnable%20Azure%20WAF%20diagnostics%20using%20PowerShell%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22ql-indent-1%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Network-Security%2Ftree%2Fmaster%2FAzure%2520DDoS%2520Protection%2FEnable%2520Diagnostic%2520Logging%2FPowershell%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EEnable%20Azure%20DDOS%20diagnostics%20using%20PowerShell%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--507178418%22%20id%3D%22toc-hId--507178418%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EUsing%20Azure%20Policy%20to%20collect%20from%20Azure%20services%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20recommended%20way%20to%20configure%20Azure%20Services%20to%20stream%20to%20Azure%20Sentinel%20is%20to%20use%20Azure%20Policy.%20This%20ensures%20new%20services%20are%20automatically%20set%20to%20collect%20without%20the%20user%20having%20to%20wait%20to%20be%20connected.%20Create-%3CWBR%20%2F%3EAzDiagPolicy%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FJimGBritt%2FAzurePolicy%2Ftree%2Fmaster%2FAzureMonitor%2FScripts%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EGitHub%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FCreate-AzDiagPolicy%2F1.4%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPowerShell%20Gallery%3C%2FA%3E)%20allows%20you%20to%20create%20Azure%20Policies%20for%20enforcing%20Azure%20services%20to%20log%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ETo%20learn%20more%20about%20using%20Azure%20policy%20to%20ensure%20any%20new%20Azure%20resource%20send%20telemetry%20to%20Azure%26nbsp%3B%20read%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblog.tyang.org%2F2018%2F11%2F19%2Fconfiguring-azure-resources-diagnostic-log-settings-using-azure-policy%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETao%20Yang's%20blog%20post.%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bthough%20note%20that%20the%20referenced%20policy%20templates%20are%20out%20of%20date%20and%20the%20script%20above%20should%20be%20used.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3ELastly%2C%20for%20ASC%20continuous%20export%20use%20the%20built%20in%20policy%20'Deploy%20export%20to%20Log%20Analytics%20workspace%20for%20Azure%20Security%20Center%20alerts%20and%20recommendations%E2%80%99%20(Policy%20ID%3A%20ffb6f416-7bd2-4488-8828-56585fef2be9)%20or%20use%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Security-Center%2Ftree%2Fmaster%2FPricing%2520%2526%2520Settings%2FContinuous%2520export%2FConfigure%2520Continuous%2520Export%2520in%2520scale%2520via%2520policy%2FExport%2520to%2520Log%2520Analytics%2520Workspace%2520Policy%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20policy%20template%3C%2FA%3E.%20Use%20ASC%20continuous%20export%20to%20collect%20ASC%20recommendations%20as%20well%20as%20an%20alternative%20to%20the%20ASC%20alerts%20connector%2C%20albeit%20with%20some%20limitations.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1851251696%22%20id%3D%22toc-hId-1851251696%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EAbout%20API%20support%20and%20versioning%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3EWhile%20cloud%20applications%20user%20interfaces%20change%20on%20an%20on-going%20basis%2C%20on%20the%20API%20side%20we%20commit%20to%20longer%20term%20consistency.%20So%2C%20while%20the%20APIs%20do%20change%20regularly%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EA%20breaking%20change%20requires%20a%20new%20version%20of%20the%20API.%3C%2FLI%3E%0A%3CLI%3EExisting%20versions%20can%20be%20deprecated%20only%20after%203%20years%20if%20GA%2C%20and%2090%20days%20for%20preview%2C%20and%20need%20to%20follow%20a%20deprecation%20process.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22apis.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166139i3449033D52859ABE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22apis.jpg%22%20alt%3D%22apis.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1116885%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20of%20the%20biggest%20advantages%20of%20the%20cloud%20in%20general%20and%20Azure%20Sentinel%2C%20in%20particular%2C%20is%20being%20API%20focused.%20Read%20more%20on%20using%20Azure%20Sentinel's%20APIs%20to%20implement%20integration%20and%20automation.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

One of the biggest advantages of the cloud in general and Azure Sentinel, in particular, is being API focused. SIEM products are integration savvy, whether with telemetry sources or with other management platforms. The cloud makes automating this integration critical to tackling the ephemeral nature of resources. In this evolving blog post, we will cover Azure Sentinel integration and automation capabilities.

 

Data integration

Azure Sentinel uses Azure Log Analytics for log management and the Log Analytics APIs serve Azure Sentinel.

 

The Query API

Azure Sentinel enables easy and fast API access to the workspace, Azure Sentinel's primary data store. This enables you to use Azure Sentinel as your data lake and build your own algorithms and applications over the data.

 

To do that, send your KQL queries using the  Log Analytics query API. To learn more about how to use the query API, which is part of Azure REST API, you might want to read getting started with Azure REST API, or read Rin Ure's great write up on how to use the API. There are some tools that already use the API and can make life simpler:

 

Also, in addition to ingested event data, the Azure Sentinel workspace stores alerts in the SecurityAlert table and bookmarks in the HuntingBookmark table, which can be accessed using the query API. Incidents are not stored in the workspace but can be read using the management API discussed below. 

 

The Data Collector API

You can ingest data to Azure Sentinel using the Log Analytics Data Collector API. You can directly use the API using your preferred programming language, but also use tools such as the Log Analytics agent, Logstash and Logic Apps without programming. The API and the different ways to use it are discussed in the custom connectors blog post.

 

The Graph Security API

The Graph Security API offers a direct interface, which may be easier to use for special popular data access use cases:

  • Read Azure Sentinel's alerts.
  • Ingest TI to Azure Sentinel utilizing the built-in TI based analytics without modifications. Note that this cannot be achieved with the data collector API as it writes to custom tables rather than to the standard TI table, ThreatIntelligenceIndicator. See this blog post as an example.

 

Management integration and automation

Using automation for deployment and management is always a cost saver. For the cloud, in which resources are often ephemeral, automation is ever more important, and the same applies to service providers which need to on and off-board customers as efficiently as possible. Management APIs are also important to tie processes, and not just data, into other systems in the organization such as a service provider's portal, a workflow system or a ticketing system.

 

The Azure Sentinel management API documentation can be found here.
Swagger and example files can be found here
.

 

Looking to include the API calls in an ARM template? the newly introduced scripting capability within ARM templates enables including any Sentinel API call in an ARM template. For more details refer to “Extending Azure Resource Manager (ARM), Azure's control plane” from Ignite 2019

 

As mentioned before, the API allows access to incident data, not available through the query API. You can find the export all incidents script a useful example for doing that.

 

API permissions

Azure APIs use the same roles and permissions mechanism as does the portal. More details on Azure Sentinel roles and permissions can be found here.

 

Using the API to retrieve and update incident information

While both alert and incident information is avaialable through the query API as they are stored in tables in the workspace, updating incidents requires using the management API. As a result, it is sometimes preferred to use the manamgenet API also to retrieve incident and alert informtion. Some useful examples that can help are:

  

Using the management API to automate content deployment

The most common use for the API is to automate the deployment and update of Analytics Alert Rules and hunting queries. 

 

Two open-source implementations of the API you might find useful for this purpose are:

  • Automating analytics and hunting rules deployment using AzSentinel created by Wortell. You can use these scripts to export and import all rules from a workspace. If using the API directly to deploy a rule retrieved from another workspace, make sure you update the following JSON fields:
    • The id should be modified so it will fit the current workspace URI
    • The etag should be cleared
    • The lastModifiedUtc should be removed

When using any one of the scripts presented in this section, this is already handled for you.

 

The management API would also be the solution for backing up and restoring configuration. The automation PowerShell modules and scripts described above both read and write resources and therefore, can be used for backup and restore. Using CI/CD ensures that the master copy of the configuration is external to start with.

 

Automated deployment and configuration for other resources

Azure Sentinel uses other resources which are part of the Azure environment and for which you would need to use their own deployment automation mechanism:

 

Using Azure Policy to collect from Azure services

The recommended way to configure Azure Services to stream to Azure Sentinel is to use Azure Policy. This ensures new services are automatically set to collect without the user having to wait to be connected. Create-AzDiagPolicy (GitHub, PowerShell Gallery) allows you to create Azure Policies for enforcing Azure services to log 

 

To learn more about using Azure policy to ensure any new Azure resource send telemetry to Azure  read Tao Yang's blog post. though note that the referenced policy templates are out of date and the script above should be used.

 

Lastly, for ASC continuous export use the built in policy 'Deploy export to Log Analytics workspace for Azure Security Center alerts and recommendations’ (Policy ID: ffb6f416-7bd2-4488-8828-56585fef2be9) or use this policy template. Use ASC continuous export to collect ASC recommendations as well as an alternative to the ASC alerts connector, albeit with some limitations.  

 

About API support and versioning

While cloud applications user interfaces change on an on-going basis, on the API side we commit to longer term consistency. So, while the APIs do change regularly:

  • A breaking change requires a new version of the API.
  • Existing versions can be deprecated only after 3 years if GA, and 90 days for preview, and need to follow a deprecation process.

 

apis.jpg

2 Comments
New Contributor

Thank you for the POST as I am trying to get up to speed on this service offering.  ~ www.linkedin.com/in/brentmorrisinrtp

Occasional Contributor

@Ofer_Shezaf I would like to know. Whether a plan to introduce the connector tenable.io in sentinel?