Table of Contents

Class AuditLogRaw

Namespace
Cloudflare.NET.AuditLogs.Models
Assembly
Cloudflare.NET.dll

Raw HTTP request details for an audit log entry.

public record AuditLogRaw : IEquatable<AuditLogRaw>
Inheritance
AuditLogRaw
Implements
Inherited Members

Constructors

AuditLogRaw(string?, string?, int?, string?, string?)

Raw HTTP request details for an audit log entry.

public AuditLogRaw(string? CfRayId = null, string? Method = null, int? StatusCode = null, string? Uri = null, string? UserAgent = null)

Parameters

CfRayId string

Cloudflare Ray ID for the request.

Method string

HTTP method (GET, POST, PUT, DELETE, etc.).

StatusCode int?

HTTP status code returned.

Uri string

Request URI path.

UserAgent string

User agent string of the client.

Properties

CfRayId

Cloudflare Ray ID for the request.

[JsonPropertyName("cf_ray_id")]
public string? CfRayId { get; init; }

Property Value

string

Method

HTTP method (GET, POST, PUT, DELETE, etc.).

[JsonPropertyName("method")]
public string? Method { get; init; }

Property Value

string

StatusCode

HTTP status code returned.

[JsonPropertyName("status_code")]
public int? StatusCode { get; init; }

Property Value

int?

Uri

Request URI path.

[JsonPropertyName("uri")]
public string? Uri { get; init; }

Property Value

string

UserAgent

User agent string of the client.

[JsonPropertyName("user_agent")]
public string? UserAgent { get; init; }

Property Value

string