Open
Conversation
|
|
yuting-liu
reviewed
Feb 19, 2026
Collaborator
Author
unrelated test failing cc @ashpaliwal |
868cffd to
9c72296
Compare
yuting-liu
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add support for O365 Audit Source with App Registration Authentication
Summary
This PR adds a new Terraform resource
sumologic_o365_audit_sourcethat enables collection of Office 365 audit logs using Azure AD App Registration authentication.Changes
New Resource:
sumologic_o365_audit_sourcetenant_id- Azure AD tenant IDclient_id- Azure AD application (client) IDclient_secret- Azure AD client secret (marked as sensitive)Audit.Exchange- Exchange audit logsAudit.AzureActiveDirectory- Azure AD audit logsAudit.SharePoint- SharePoint audit logsAudit.General- General audit logsDLP.All- Data Loss Prevention logsCommercial- Commercial cloudGCC- Government Community CloudGCC High- Government Community Cloud HighHTTP Source Enhancements
Extended the
HTTPSourcestruct to support third-party references with new types:HTTPThirdPartyRef- Container for third-party resource configurationsHTTPResource- Resource configuration with service type, path, and authenticationHTTPPath- Path configuration for O365 notification endpointsHTTPAuthentication- Authentication configuration for App RegistrationBug Fix
Fixed
base_urlprovider configuration to properly read fromSUMOLOGIC_BASE_URLenvironment variable at runtime usingschema.EnvDefaultFuncinstead ofos.Getenv().Testing
resource_sumologic_o365_audit_source_test.goSUMOLOGIC_TEST_O365_TENANT_IDSUMOLOGIC_TEST_O365_CLIENT_IDSUMOLOGIC_TEST_O365_CLIENT_SECRETDocumentation
Added complete documentation at
website/docs/r/o365_audit_source.html.markdownincluding:Check list
CHANGELOG.mdCONTRIBUTING.mdfor anything forgotten