Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataSafe.getMaskingPolicyHealthReportLogs
Explore with Pulumi AI
This data source provides the list of Masking Policy Health Report Logs in Oracle Cloud Infrastructure Data Safe service.
Gets a list of errors and warnings from a masking policy health check.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaskingPolicyHealthReportLogs = oci.DataSafe.getMaskingPolicyHealthReportLogs({
maskingPolicyHealthReportId: testMaskingPolicyHealthReport.id,
messageType: maskingPolicyHealthReportLogMessageType,
});
import pulumi
import pulumi_oci as oci
test_masking_policy_health_report_logs = oci.DataSafe.get_masking_policy_health_report_logs(masking_policy_health_report_id=test_masking_policy_health_report["id"],
message_type=masking_policy_health_report_log_message_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetMaskingPolicyHealthReportLogs(ctx, &datasafe.GetMaskingPolicyHealthReportLogsArgs{
MaskingPolicyHealthReportId: testMaskingPolicyHealthReport.Id,
MessageType: pulumi.StringRef(maskingPolicyHealthReportLogMessageType),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMaskingPolicyHealthReportLogs = Oci.DataSafe.GetMaskingPolicyHealthReportLogs.Invoke(new()
{
MaskingPolicyHealthReportId = testMaskingPolicyHealthReport.Id,
MessageType = maskingPolicyHealthReportLogMessageType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetMaskingPolicyHealthReportLogsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testMaskingPolicyHealthReportLogs = DataSafeFunctions.getMaskingPolicyHealthReportLogs(GetMaskingPolicyHealthReportLogsArgs.builder()
.maskingPolicyHealthReportId(testMaskingPolicyHealthReport.id())
.messageType(maskingPolicyHealthReportLogMessageType)
.build());
}
}
variables:
testMaskingPolicyHealthReportLogs:
fn::invoke:
function: oci:DataSafe:getMaskingPolicyHealthReportLogs
arguments:
maskingPolicyHealthReportId: ${testMaskingPolicyHealthReport.id}
messageType: ${maskingPolicyHealthReportLogMessageType}
Using getMaskingPolicyHealthReportLogs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMaskingPolicyHealthReportLogs(args: GetMaskingPolicyHealthReportLogsArgs, opts?: InvokeOptions): Promise<GetMaskingPolicyHealthReportLogsResult>
function getMaskingPolicyHealthReportLogsOutput(args: GetMaskingPolicyHealthReportLogsOutputArgs, opts?: InvokeOptions): Output<GetMaskingPolicyHealthReportLogsResult>
def get_masking_policy_health_report_logs(filters: Optional[Sequence[_datasafe.GetMaskingPolicyHealthReportLogsFilter]] = None,
masking_policy_health_report_id: Optional[str] = None,
message_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaskingPolicyHealthReportLogsResult
def get_masking_policy_health_report_logs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetMaskingPolicyHealthReportLogsFilterArgs]]]] = None,
masking_policy_health_report_id: Optional[pulumi.Input[str]] = None,
message_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMaskingPolicyHealthReportLogsResult]
func GetMaskingPolicyHealthReportLogs(ctx *Context, args *GetMaskingPolicyHealthReportLogsArgs, opts ...InvokeOption) (*GetMaskingPolicyHealthReportLogsResult, error)
func GetMaskingPolicyHealthReportLogsOutput(ctx *Context, args *GetMaskingPolicyHealthReportLogsOutputArgs, opts ...InvokeOption) GetMaskingPolicyHealthReportLogsResultOutput
> Note: This function is named GetMaskingPolicyHealthReportLogs
in the Go SDK.
public static class GetMaskingPolicyHealthReportLogs
{
public static Task<GetMaskingPolicyHealthReportLogsResult> InvokeAsync(GetMaskingPolicyHealthReportLogsArgs args, InvokeOptions? opts = null)
public static Output<GetMaskingPolicyHealthReportLogsResult> Invoke(GetMaskingPolicyHealthReportLogsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMaskingPolicyHealthReportLogsResult> getMaskingPolicyHealthReportLogs(GetMaskingPolicyHealthReportLogsArgs args, InvokeOptions options)
public static Output<GetMaskingPolicyHealthReportLogsResult> getMaskingPolicyHealthReportLogs(GetMaskingPolicyHealthReportLogsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getMaskingPolicyHealthReportLogs:getMaskingPolicyHealthReportLogs
arguments:
# arguments dictionary
The following arguments are supported:
- Masking
Policy Health Report Id This property is required. string - The OCID of the masking health report.
- Filters
Changes to this property will trigger replacement.
Masking Policy Health Report Logs Filter> - Message
Type string - A filter to return only the resources that match the specified log message type.
- Masking
Policy Health Report Id This property is required. string - The OCID of the masking health report.
- Filters
Changes to this property will trigger replacement.
Masking Policy Health Report Logs Filter - Message
Type string - A filter to return only the resources that match the specified log message type.
- masking
Policy Health Report Id This property is required. String - The OCID of the masking health report.
- filters
Changes to this property will trigger replacement.
Masking Policy Health Report Logs Filter> - message
Type String - A filter to return only the resources that match the specified log message type.
- masking
Policy Health Report Id This property is required. string - The OCID of the masking health report.
- filters
Changes to this property will trigger replacement.
Masking Policy Health Report Logs Filter[] - message
Type string - A filter to return only the resources that match the specified log message type.
- masking_
policy_ health_ report_ id This property is required. str - The OCID of the masking health report.
- filters
Changes to this property will trigger replacement.
Get Masking Policy Health Report Logs Filter] - message_
type str - A filter to return only the resources that match the specified log message type.
- masking
Policy Health Report Id This property is required. String - The OCID of the masking health report.
- filters
Changes to this property will trigger replacement.
- message
Type String - A filter to return only the resources that match the specified log message type.
getMaskingPolicyHealthReportLogs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Masking
Policy stringHealth Report Id - Masking
Policy List<GetHealth Report Log Collections Masking Policy Health Report Logs Masking Policy Health Report Log Collection> - The list of masking_policy_health_report_log_collection.
- Filters
List<Get
Masking Policy Health Report Logs Filter> - Message
Type string - The log entry type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Masking
Policy stringHealth Report Id - Masking
Policy []GetHealth Report Log Collections Masking Policy Health Report Logs Masking Policy Health Report Log Collection - The list of masking_policy_health_report_log_collection.
- Filters
[]Get
Masking Policy Health Report Logs Filter - Message
Type string - The log entry type.
- id String
- The provider-assigned unique ID for this managed resource.
- masking
Policy StringHealth Report Id - masking
Policy List<GetHealth Report Log Collections Masking Policy Health Report Logs Masking Policy Health Report Log Collection> - The list of masking_policy_health_report_log_collection.
- filters
List<Get
Masking Policy Health Report Logs Filter> - message
Type String - The log entry type.
- id string
- The provider-assigned unique ID for this managed resource.
- masking
Policy stringHealth Report Id - masking
Policy GetHealth Report Log Collections Masking Policy Health Report Logs Masking Policy Health Report Log Collection[] - The list of masking_policy_health_report_log_collection.
- filters
Get
Masking Policy Health Report Logs Filter[] - message
Type string - The log entry type.
- id str
- The provider-assigned unique ID for this managed resource.
- masking_
policy_ strhealth_ report_ id - masking_
policy_ Sequence[datasafe.health_ report_ log_ collections Get Masking Policy Health Report Logs Masking Policy Health Report Log Collection] - The list of masking_policy_health_report_log_collection.
- filters
Sequence[datasafe.
Get Masking Policy Health Report Logs Filter] - message_
type str - The log entry type.
- id String
- The provider-assigned unique ID for this managed resource.
- masking
Policy StringHealth Report Id - masking
Policy List<Property Map>Health Report Log Collections - The list of masking_policy_health_report_log_collection.
- filters List<Property Map>
- message
Type String - The log entry type.
Supporting Types
GetMaskingPolicyHealthReportLogsFilter
GetMaskingPolicyHealthReportLogsMaskingPolicyHealthReportLogCollection
- Items
This property is required. List<GetMasking Policy Health Report Logs Masking Policy Health Report Log Collection Item> - An array of masking policy health report objects.
- Items
This property is required. []GetMasking Policy Health Report Logs Masking Policy Health Report Log Collection Item - An array of masking policy health report objects.
- items
This property is required. List<GetMasking Policy Health Report Logs Masking Policy Health Report Log Collection Item> - An array of masking policy health report objects.
- items
This property is required. GetMasking Policy Health Report Logs Masking Policy Health Report Log Collection Item[] - An array of masking policy health report objects.
- items
This property is required. Sequence[datasafe.Get Masking Policy Health Report Logs Masking Policy Health Report Log Collection Item] - An array of masking policy health report objects.
- items
This property is required. List<Property Map> - An array of masking policy health report objects.
GetMaskingPolicyHealthReportLogsMaskingPolicyHealthReportLogCollectionItem
- Description
This property is required. string - A human-readable description for the log entry.
- Health
Check Type This property is required. string - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- Message
This property is required. string - A human-readable log entry.
- Message
Type This property is required. string - A filter to return only the resources that match the specified log message type.
- Remediation
This property is required. string - A human-readable log entry to remedy any error or warnings in the masking policy.
- Timestamp
This property is required. string - The date and time the log entry was created, in the format defined by RFC3339.
- Description
This property is required. string - A human-readable description for the log entry.
- Health
Check Type This property is required. string - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- Message
This property is required. string - A human-readable log entry.
- Message
Type This property is required. string - A filter to return only the resources that match the specified log message type.
- Remediation
This property is required. string - A human-readable log entry to remedy any error or warnings in the masking policy.
- Timestamp
This property is required. string - The date and time the log entry was created, in the format defined by RFC3339.
- description
This property is required. String - A human-readable description for the log entry.
- health
Check Type This property is required. String - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- message
This property is required. String - A human-readable log entry.
- message
Type This property is required. String - A filter to return only the resources that match the specified log message type.
- remediation
This property is required. String - A human-readable log entry to remedy any error or warnings in the masking policy.
- timestamp
This property is required. String - The date and time the log entry was created, in the format defined by RFC3339.
- description
This property is required. string - A human-readable description for the log entry.
- health
Check Type This property is required. string - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- message
This property is required. string - A human-readable log entry.
- message
Type This property is required. string - A filter to return only the resources that match the specified log message type.
- remediation
This property is required. string - A human-readable log entry to remedy any error or warnings in the masking policy.
- timestamp
This property is required. string - The date and time the log entry was created, in the format defined by RFC3339.
- description
This property is required. str - A human-readable description for the log entry.
- health_
check_ type This property is required. str - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- message
This property is required. str - A human-readable log entry.
- message_
type This property is required. str - A filter to return only the resources that match the specified log message type.
- remediation
This property is required. str - A human-readable log entry to remedy any error or warnings in the masking policy.
- timestamp
This property is required. str - The date and time the log entry was created, in the format defined by RFC3339.
- description
This property is required. String - A human-readable description for the log entry.
- health
Check Type This property is required. String - An enum type entry for each health check in the masking policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled DE_COL_SIZE_CHECK checks if any masking column with DETERMINISTIC ENCRYPTION as masking format has average column size greater than 27 or not. ACTIVE_MASK_JOB_CHECK checks if there is any active masking job running on the target database. DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. COLUMN_EXIST_CHECK checks if the masking columns are available in the target database.
- message
This property is required. String - A human-readable log entry.
- message
Type This property is required. String - A filter to return only the resources that match the specified log message type.
- remediation
This property is required. String - A human-readable log entry to remedy any error or warnings in the masking policy.
- timestamp
This property is required. String - The date and time the log entry was created, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.