Data Source: oci_data_safe_alerts

This data source provides the list of Alerts in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all alerts.

Example Usage

data "oci_data_safe_alerts" "test_alerts" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.alert_access_level
	compartment_id_in_subtree = var.alert_compartment_id_in_subtree
	field = var.alert_field
	id = var.alert_id
	scim_query = var.alert_scim_query
}

Argument Reference

The following arguments are supported:

Example: | query=(timeCreated ge ‘2021-06-04T01-00-26’) and (targetNames eq ‘target_1’) query=(featureDetails.userName eq “user”) and (targetNames eq “target_1”) Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

Attributes Reference

The following attributes are exported:

Alert Reference

The following attributes are exported: