Skip to content

MediaMaticAuditEvent

Namespace: MJCZone.MediaMatic.AspNetCore.Auditing

Assembly: MJCZone.MediaMatic.AspNetCore

Summary

Represents an audit event for a MediaMatic operation.

public

Contents

Constructors (1) | Methods (4) | Properties (18)

Constructors

MediaMaticAuditEvent

csharp
MediaMaticAuditEvent()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

UserIdentifier

Gets or sets the identifier of the user who performed the operation.

Type: string

Operation

Gets or sets the operation that was performed (e.g., "datasources/post", "tables/put").

Type: string

FilesourceId

Gets or sets the name of the filesource involved in the operation, if applicable.

Type: string?

BucketName

Gets or sets the name of the bucket involved in the operation, if applicable.

Type: string?

FolderName

Gets or sets the name of the folder involved in the operation, if applicable.

Type: string?

FolderPath

Gets or sets the path of the folder involved in the operation, if applicable.

Type: string?

OriginalFileName

Gets or sets the original file name involved in the operation, if applicable.

Type: string?

FileName

Gets or sets the name of the file being accessed, if applicable.

Type: string?

FilePath

Gets or sets the path of the file being accessed, if applicable.

Type: string?

FileSizeInBytes

Gets or sets the size of the file in bytes, if applicable.

Type: long?

MimeType

Gets or sets the MIME type of the file (e.g., "image/jpeg", "application/pdf"), if applicable.

Type: string?

Success

Gets or sets a value indicating whether the operation was successful.

Type: bool?

Message

Gets or sets the message describing the operation outcome.

Type: string?

Timestamp

Gets or sets the timestamp when the operation occurred.

Type: DateTimeOffset?

RequestId

Gets or sets the request ID for correlating logs.

Type: string?

IpAddress

Gets or sets the IP address of the client.

Type: string?

UserAgent

Gets or sets the User-Agent header from the client request. Useful for tracking browser/device information.

Type: string?

Properties

Gets or sets additional properties for custom audit information.

Type: Dictionary<string, object>