Home
%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%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-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.%20Alternatively%2C%20use%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22_e75a791d-denali-editor-page-rtfLink%22%20href%3D%22https%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FInvoke-AzOperationalInsightsQueryExport%2F1.2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EPowerShell%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bor%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%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%3CSPAN%20data-preserver-spaces%3D%22true%22%3E%26nbsp%3Bto%20query%20using%20the%20API.%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%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%3CP%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3EThe%20Azure%20Sentinel%20management%20API%20can%20be%20found%26nbsp%3B%3C%2FSPAN%3E%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%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3Ehere%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-preserver-spaces%3D%22true%22%3E.%20We%20do%20expect%20small%20changes%20before%20it%20becomes%20generally%20available%20(GA).%20We%20will%20update%20this%20blog%20post%20on%20changes%20and%20when%20it%20becomes%20GA.%20Looking%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%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%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%20(this%20is%20a%20useful%20wrapper%20around%20the%20API%20below)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CP%20style%3D%22margin%3A%200cm%3B%20margin-bottom%3A%20.0001pt%3B%22%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%2FP%3E%0A%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.%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%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%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%20view%20functions%3A%20use%20an%20%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%3ETelemetry%20from%20Azure%20resources%3A%20use%20Azure%20policy%20to%20ensure%20any%20new%20resource%20is%20monitored%20using%20as%20outlined%20in%20%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%20using%20the%20templates%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftyconsulting%2Fazurepolicy%2Ftree%2Fmaster%2Farm-templates%2Fdiagnostic-settings%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%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-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%3C%2FUL%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%2Fgxcuf89792.i.lithium.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. Alternatively, use PowerShell or the Logic Apps Azure Monitor logs connector to query using the API.

 

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 can be found here. We do expect small changes before it becomes generally available (GA). We will update this blog post on changes and when it becomes GA. 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.

 

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:

 

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:

  • Workbooks: use ARM. To ensure the workbook is listed in Sentinel:
    • Set the sourceId to the workspace ID (should look similar to this /subscriptions/… /resourcegroups/…/providers/microsoft.operationalinsights/workspaces/…) 
    • Set the category to “sentinel”
  • Logic App playbooks: use ARM. To ensure the playbook appears in Sentinel:
    • It has to use the Sentinel trigger
    • Be in the same subscription as the workspace.
  • Saved searches and view functions: use an API
  • Telemetry from Azure resources: use Azure policy to ensure any new resource is monitored using as outlined in Tao Yang's blog post using the templates here.
  • Security Events collection tier

apis.jpg

1 Comment
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