From 6d39610c4ba8748f5f88a4f70c0c0f04fb14b345 Mon Sep 17 00:00:00 2001 From: thepirat000 Date: Tue, 12 Mar 2024 18:42:29 -0600 Subject: [PATCH] Exposing GetContainer method as protected to allow customization (#655) --- CHANGELOG.md | 4 ++++ Directory.Build.props | 2 +- .../Providers/AzureCosmosDataProvider.Cosmos.cs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65390c1e..545a9fd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to Audit.NET and its extensions will be documented in this f The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [25.0.3] - 2024-03-12: +- Audit.NET.AzureCosmos: Exposing GetContainer method as protected to allow customization (#655) +- Audit.NET.EventLog.Core: Security upgrade Microsoft.Windows.Compatibility from 8.0.1 to 8.0.3 (#656) + ## [25.0.2] - 2024-03-11: - Audit.NET.AzureStorageBlobs: Adding ability to configure Tags for the audit event BLOBs (#654) diff --git a/Directory.Build.props b/Directory.Build.props index 530c8e75..48bd7a8a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 25.0.2 + 25.0.3 false diff --git a/src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.Cosmos.cs b/src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.Cosmos.cs index 421a6e3b..7c923c85 100644 --- a/src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.Cosmos.cs +++ b/src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.Cosmos.cs @@ -186,7 +186,7 @@ private CosmosClient InitializeClient(AuditEvent auditEvent) return CosmosClient; } - private Container GetContainer(AuditEvent auditEvent) + protected Container GetContainer(AuditEvent auditEvent) { var client = GetClient(auditEvent); return client.GetContainer(Database.GetValue(auditEvent), Container.GetValue(auditEvent));