Class AuditTrailSummary
Summary of an audit trail.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AuditTrailSummary
Properties
AuditCollectionStartTime
Declaration
[JsonProperty(PropertyName = "auditCollectionStartTime")]
public DateTime? AuditCollectionStartTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date from which the audit trail must start collecting data, in the format defined by RFC3339. |
AuditProfileId
Declaration
[Required(ErrorMessage = "AuditProfileId is required.")]
[JsonProperty(PropertyName = "auditProfileId")]
public string AuditProfileId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the parent audit. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the audit. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of audit trail. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the audit trail. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the audit trail. |
Remarks
Required
IsAutoPurgeEnabled
Declaration
[JsonProperty(PropertyName = "isAutoPurgeEnabled")]
public bool? IsAutoPurgeEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Details about the current state of the audit trail in Data Safe. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuditTrailLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AuditTrailLifecycleState? | The current state of the audit trail. |
Remarks
Required
PeerTargetDatabaseKey
Declaration
[JsonProperty(PropertyName = "peerTargetDatabaseKey")]
public int? PeerTargetDatabaseKey { get; set; }
Property Value
Type | Description |
---|---|
int? | The secondary id assigned for the peer database registered with Data Safe. |
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuditTrailStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
AuditTrailStatus? | The current sub-state of the audit trail. |
Remarks
Required
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Data Safe target for which the audit trail is created. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the audit trail was created, in the format defined by RFC3339. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the audit trail was updated, in the format defined by RFC3339. |
Remarks
Required
TrailLocation
Declaration
[JsonProperty(PropertyName = "trailLocation")]
public string TrailLocation { get; set; }
Property Value
Type | Description |
---|---|
string | An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. |