Skip to main content

SecretSweepDumpDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Pre-sweep dump of a secret sweep run. Dumps are never downloadable; they can only be deleted early (DELETE {tenantId}/v1/secrets/sweep-runs/{runId}/dump, role SecretManagement).

public class SecretSweepDumpDto

Inheritance Object → SecretSweepDumpDto

Properties​

FileName​

File name on the bot service.

public string FileName { get; set; }

Property Value​

String

Exists​

True while the file exists.

public bool Exists { get; set; }

Property Value​

Boolean

SizeBytes​

Size in bytes, or null when unknown.

public Nullable<long> SizeBytes { get; set; }

Property Value​

Nullable<Int64>

CreatedAt​

When the dump was taken (UTC).

public DateTime CreatedAt { get; set; }

Property Value​

DateTime

ExpiresAt​

When the dump expires (UTC); SecretSweepDumpDto.CreatedAt plus 7 days.

public DateTime ExpiresAt { get; set; }

Property Value​

DateTime

DeletedAt​

When the dump was deleted early or expired (UTC), or null.

public Nullable<DateTime> DeletedAt { get; set; }

Property Value​

Nullable<DateTime>

DeletedBy​

User name of whoever deleted it early, or null.

public string DeletedBy { get; set; }

Property Value​

String

Constructors​

SecretSweepDumpDto()​

public SecretSweepDumpDto()