Enable diagnostic logging automatically on your resources

%3CLINGO-SUB%20id%3D%22lingo-sub-857934%22%20slang%3D%22en-US%22%3EEnable%20diagnostic%20logging%20automatically%20on%20your%20resources%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-857934%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011pt%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%2Csans-serif%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2022.0pt%3B%22%3E%3CSPAN%20style%3D%22background-color%3A%20%23f0f2f4%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20-apple-system%3B%22%3E%3CSPAN%3ECheck%20out%20this%20%3CU%3E%3CA%20style%3D%22color%3A%20%236888c9%3B%22%20title%3D%22https%3A%2F%2Fgithub.com%2Fazure%2Fazure-security-center%2Ftree%2Fmaster%2Fsecure%2520score%2Fdiagnostic%2520logs%2520should%2520be%2520enabled%2520on%2520your%2520resource%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Security-Center%2Ftree%2Fmaster%2FSecure%2520Score%2FDiagnostic%2520Logs%2520should%2520be%2520enabled%2520on%2520your%2520resource%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecollection%3C%2FA%3E%3C%2FU%3E%20of%20Azure%20policies%20samples%20to%20enforce%20enablement%20of%20diagnostic%20logs%20on%20different%20resources.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20'Segoe%20UI'%2C%20'Helvetica%20Neue'%2C%20'Apple%20Color%20Emoji'%2C%20'Segoe%20UI%20Emoji'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%22%3E%0A%3CDIV%20data-tid%3D%22messageBodyContainer%22%3E%0A%3CDIV%20data-tid%3D%22messageBodyContent%22%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011pt%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%2Csans-serif%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2022.0pt%3B%22%3E%3CSPAN%20style%3D%22background-color%3A%20%23f0f2f4%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20-apple-system%3B%22%3E%3CSPAN%3EChoose%20whether%20you%20want%20to%20send%20the%20logs%20to%20event%20hub%2C%20storage%20account%20or%20log%20analytics.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011pt%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%2Csans-serif%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2022.0pt%3B%22%3E%3CSPAN%20style%3D%22background-color%3A%20%23f0f2f4%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20-apple-system%3B%22%3E%3CSPAN%3EGive%20it%20a%20try%20and%20submit%20your%20feedback%20in%20this%20short%20%3CU%3E%3CA%20style%3D%22color%3A%20%236888c9%3B%22%20title%3D%22https%3A%2F%2Fforms.office.com%2Fpages%2Fresponsepage.aspx%3Fid%3Dv4j5cvggr0grqy180bhbr_czucpxtvhbswcstf6htotumkjkr0plwunes0vhvvu1qumwwfrar0vcwc4u%22%20href%3D%22https%3A%2F%2Fforms.office.com%2FPages%2FResponsePage.aspx%3Fid%3Dv4j5cvGGr0GRqy180BHbR_CzuCpXTVhBswcSTF6htOtUMkJKR0pLWUNES0VHVVU1QUMwWFRaR0VCWC4u%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esurvey%3C%2FA%3E%3C%2FU%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20data-tid%3D%22appBasedLinkUrlPreview%22%3E%0A%3CDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20data-tid%3D%22urlPreviewDomain%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-858129%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20diagnostic%20logging%20automatically%20on%20your%20resources%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-858129%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F267544%22%20target%3D%22_blank%22%3E%40Miri_Landau%3C%2FA%3E%20Isn't%20this%20redundant%20with%20what%20is%20available%20in%20Azure%20Policy%20Samples%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft

Check out this collection of Azure policies samples to enforce enablement of diagnostic logs on different resources.

Choose whether you want to send the logs to event hub, storage account or log analytics.

Give it a try and submit your feedback in this short survey

 
 
1 Reply
Highlighted

@Miri_Landau Isn't this redundant with what is available in Azure Policy Samples?