oci_data_safe_audit_archive_retrieval

This resource provides the Audit Archive Retrieval resource in Oracle Cloud Infrastructure Data Safe service.

Creates a work request to retrieve archived audit data. This asynchronous process will usually take over an hour to complete. Save the id from the response of this operation. Call GetAuditArchiveRetrieval operation after an hour, passing the id to know the status of this operation.

Example Usage

resource "oci_data_safe_audit_archive_retrieval" "test_audit_archive_retrieval" {
    #Required
    compartment_id = var.compartment_id
    end_date = var.audit_archive_retrieval_end_date
    start_date = var.audit_archive_retrieval_start_date
    target_id = oci_cloud_guard_target.test_target.id

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    description = var.audit_archive_retrieval_description
    display_name = var.audit_archive_retrieval_display_name
    freeform_tags = {"Department"= "Finance"}
}

Argument Reference

The following arguments are supported:

* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Audit Archive Retrieval * update - (Defaults to 20 minutes), when updating the Audit Archive Retrieval * delete - (Defaults to 20 minutes), when destroying the Audit Archive Retrieval

Import

AuditArchiveRetrievals can be imported using the id, e.g.

$ terraform import oci_data_safe_audit_archive_retrieval.test_audit_archive_retrieval "id"