1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSensitiveTypes
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataSafe.getSensitiveTypes

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

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

    Gets a list of sensitive types based on the specified query parameters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSensitiveTypes = oci.DataSafe.getSensitiveTypes({
        compartmentId: compartmentId,
        accessLevel: sensitiveTypeAccessLevel,
        compartmentIdInSubtree: sensitiveTypeCompartmentIdInSubtree,
        defaultMaskingFormatId: testDefaultMaskingFormat.id,
        displayName: sensitiveTypeDisplayName,
        entityType: sensitiveTypeEntityType,
        isCommon: sensitiveTypeIsCommon,
        parentCategoryId: testCategory.id,
        sensitiveTypeId: testSensitiveType.id,
        sensitiveTypeSource: sensitiveTypeSensitiveTypeSource,
        state: sensitiveTypeState,
        timeCreatedGreaterThanOrEqualTo: sensitiveTypeTimeCreatedGreaterThanOrEqualTo,
        timeCreatedLessThan: sensitiveTypeTimeCreatedLessThan,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sensitive_types = oci.DataSafe.get_sensitive_types(compartment_id=compartment_id,
        access_level=sensitive_type_access_level,
        compartment_id_in_subtree=sensitive_type_compartment_id_in_subtree,
        default_masking_format_id=test_default_masking_format["id"],
        display_name=sensitive_type_display_name,
        entity_type=sensitive_type_entity_type,
        is_common=sensitive_type_is_common,
        parent_category_id=test_category["id"],
        sensitive_type_id=test_sensitive_type["id"],
        sensitive_type_source=sensitive_type_sensitive_type_source,
        state=sensitive_type_state,
        time_created_greater_than_or_equal_to=sensitive_type_time_created_greater_than_or_equal_to,
        time_created_less_than=sensitive_type_time_created_less_than)
    
    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.GetSensitiveTypes(ctx, &datasafe.GetSensitiveTypesArgs{
    			CompartmentId:                   compartmentId,
    			AccessLevel:                     pulumi.StringRef(sensitiveTypeAccessLevel),
    			CompartmentIdInSubtree:          pulumi.BoolRef(sensitiveTypeCompartmentIdInSubtree),
    			DefaultMaskingFormatId:          pulumi.StringRef(testDefaultMaskingFormat.Id),
    			DisplayName:                     pulumi.StringRef(sensitiveTypeDisplayName),
    			EntityType:                      pulumi.StringRef(sensitiveTypeEntityType),
    			IsCommon:                        pulumi.BoolRef(sensitiveTypeIsCommon),
    			ParentCategoryId:                pulumi.StringRef(testCategory.Id),
    			SensitiveTypeId:                 pulumi.StringRef(testSensitiveType.Id),
    			SensitiveTypeSource:             pulumi.StringRef(sensitiveTypeSensitiveTypeSource),
    			State:                           pulumi.StringRef(sensitiveTypeState),
    			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(sensitiveTypeTimeCreatedGreaterThanOrEqualTo),
    			TimeCreatedLessThan:             pulumi.StringRef(sensitiveTypeTimeCreatedLessThan),
    		}, 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 testSensitiveTypes = Oci.DataSafe.GetSensitiveTypes.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = sensitiveTypeAccessLevel,
            CompartmentIdInSubtree = sensitiveTypeCompartmentIdInSubtree,
            DefaultMaskingFormatId = testDefaultMaskingFormat.Id,
            DisplayName = sensitiveTypeDisplayName,
            EntityType = sensitiveTypeEntityType,
            IsCommon = sensitiveTypeIsCommon,
            ParentCategoryId = testCategory.Id,
            SensitiveTypeId = testSensitiveType.Id,
            SensitiveTypeSource = sensitiveTypeSensitiveTypeSource,
            State = sensitiveTypeState,
            TimeCreatedGreaterThanOrEqualTo = sensitiveTypeTimeCreatedGreaterThanOrEqualTo,
            TimeCreatedLessThan = sensitiveTypeTimeCreatedLessThan,
        });
    
    });
    
    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.GetSensitiveTypesArgs;
    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 testSensitiveTypes = DataSafeFunctions.getSensitiveTypes(GetSensitiveTypesArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(sensitiveTypeAccessLevel)
                .compartmentIdInSubtree(sensitiveTypeCompartmentIdInSubtree)
                .defaultMaskingFormatId(testDefaultMaskingFormat.id())
                .displayName(sensitiveTypeDisplayName)
                .entityType(sensitiveTypeEntityType)
                .isCommon(sensitiveTypeIsCommon)
                .parentCategoryId(testCategory.id())
                .sensitiveTypeId(testSensitiveType.id())
                .sensitiveTypeSource(sensitiveTypeSensitiveTypeSource)
                .state(sensitiveTypeState)
                .timeCreatedGreaterThanOrEqualTo(sensitiveTypeTimeCreatedGreaterThanOrEqualTo)
                .timeCreatedLessThan(sensitiveTypeTimeCreatedLessThan)
                .build());
    
        }
    }
    
    variables:
      testSensitiveTypes:
        fn::invoke:
          Function: oci:DataSafe:getSensitiveTypes
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${sensitiveTypeAccessLevel}
            compartmentIdInSubtree: ${sensitiveTypeCompartmentIdInSubtree}
            defaultMaskingFormatId: ${testDefaultMaskingFormat.id}
            displayName: ${sensitiveTypeDisplayName}
            entityType: ${sensitiveTypeEntityType}
            isCommon: ${sensitiveTypeIsCommon}
            parentCategoryId: ${testCategory.id}
            sensitiveTypeId: ${testSensitiveType.id}
            sensitiveTypeSource: ${sensitiveTypeSensitiveTypeSource}
            state: ${sensitiveTypeState}
            timeCreatedGreaterThanOrEqualTo: ${sensitiveTypeTimeCreatedGreaterThanOrEqualTo}
            timeCreatedLessThan: ${sensitiveTypeTimeCreatedLessThan}
    

    Using getSensitiveTypes

    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 getSensitiveTypes(args: GetSensitiveTypesArgs, opts?: InvokeOptions): Promise<GetSensitiveTypesResult>
    function getSensitiveTypesOutput(args: GetSensitiveTypesOutputArgs, opts?: InvokeOptions): Output<GetSensitiveTypesResult>
    def get_sensitive_types(access_level: Optional[str] = None,
                            compartment_id: Optional[str] = None,
                            compartment_id_in_subtree: Optional[bool] = None,
                            default_masking_format_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            entity_type: Optional[str] = None,
                            filters: Optional[Sequence[_datasafe.GetSensitiveTypesFilter]] = None,
                            is_common: Optional[bool] = None,
                            parent_category_id: Optional[str] = None,
                            sensitive_type_id: Optional[str] = None,
                            sensitive_type_source: Optional[str] = None,
                            state: Optional[str] = None,
                            time_created_greater_than_or_equal_to: Optional[str] = None,
                            time_created_less_than: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSensitiveTypesResult
    def get_sensitive_types_output(access_level: Optional[pulumi.Input[str]] = None,
                            compartment_id: Optional[pulumi.Input[str]] = None,
                            compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                            default_masking_format_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            entity_type: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSensitiveTypesFilterArgs]]]] = None,
                            is_common: Optional[pulumi.Input[bool]] = None,
                            parent_category_id: Optional[pulumi.Input[str]] = None,
                            sensitive_type_id: Optional[pulumi.Input[str]] = None,
                            sensitive_type_source: Optional[pulumi.Input[str]] = None,
                            state: Optional[pulumi.Input[str]] = None,
                            time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                            time_created_less_than: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveTypesResult]
    func GetSensitiveTypes(ctx *Context, args *GetSensitiveTypesArgs, opts ...InvokeOption) (*GetSensitiveTypesResult, error)
    func GetSensitiveTypesOutput(ctx *Context, args *GetSensitiveTypesOutputArgs, opts ...InvokeOption) GetSensitiveTypesResultOutput

    > Note: This function is named GetSensitiveTypes in the Go SDK.

    public static class GetSensitiveTypes 
    {
        public static Task<GetSensitiveTypesResult> InvokeAsync(GetSensitiveTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetSensitiveTypesResult> Invoke(GetSensitiveTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSensitiveTypesResult> getSensitiveTypes(GetSensitiveTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSensitiveTypes:getSensitiveTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DefaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EntityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    Filters List<GetSensitiveTypesFilter>
    IsCommon bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    ParentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    SensitiveTypeSource string
    A filter to return the sensitive type resources based on the value of their source attribute.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DefaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EntityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    Filters []GetSensitiveTypesFilter
    IsCommon bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    ParentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    SensitiveTypeSource string
    A filter to return the sensitive type resources based on the value of their source attribute.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    defaultMaskingFormatId String
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    displayName String
    A filter to return only resources that match the specified display name.
    entityType String
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    filters List<GetSensitiveTypesFilter>
    isCommon Boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId String
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveTypeSource String
    A filter to return the sensitive type resources based on the value of their source attribute.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    defaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    displayName string
    A filter to return only resources that match the specified display name.
    entityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    filters GetSensitiveTypesFilter[]
    isCommon boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    sensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveTypeSource string
    A filter to return the sensitive type resources based on the value of their source attribute.
    state string
    A filter to return only the resources that match the specified lifecycle state.
    timeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    default_masking_format_id str
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    display_name str
    A filter to return only resources that match the specified display name.
    entity_type str
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    filters Sequence[datasafe.GetSensitiveTypesFilter]
    is_common bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parent_category_id str
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    sensitive_type_id str
    A filter to return only items related to a specific sensitive type OCID.
    sensitive_type_source str
    A filter to return the sensitive type resources based on the value of their source attribute.
    state str
    A filter to return only the resources that match the specified lifecycle state.
    time_created_greater_than_or_equal_to str

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    time_created_less_than str

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    defaultMaskingFormatId String
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    displayName String
    A filter to return only resources that match the specified display name.
    entityType String
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    filters List<Property Map>
    isCommon Boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId String
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveTypeSource String
    A filter to return the sensitive type resources based on the value of their source attribute.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    getSensitiveTypes Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the sensitive type.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveTypeCollections List<GetSensitiveTypesSensitiveTypeCollection>
    The list of sensitive_type_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DefaultMaskingFormatId string
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    DisplayName string
    The display name of the sensitive type.
    EntityType string
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    Filters List<GetSensitiveTypesFilter>
    IsCommon bool
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    ParentCategoryId string
    The OCID of the parent sensitive category.
    SensitiveTypeId string
    SensitiveTypeSource string
    State string
    The current state of the sensitive type.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    CompartmentId string
    The OCID of the compartment that contains the sensitive type.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveTypeCollections []GetSensitiveTypesSensitiveTypeCollection
    The list of sensitive_type_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DefaultMaskingFormatId string
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    DisplayName string
    The display name of the sensitive type.
    EntityType string
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    Filters []GetSensitiveTypesFilter
    IsCommon bool
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    ParentCategoryId string
    The OCID of the parent sensitive category.
    SensitiveTypeId string
    SensitiveTypeSource string
    State string
    The current state of the sensitive type.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    compartmentId String
    The OCID of the compartment that contains the sensitive type.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveTypeCollections List<GetSensitiveTypesSensitiveTypeCollection>
    The list of sensitive_type_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    defaultMaskingFormatId String
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    displayName String
    The display name of the sensitive type.
    entityType String
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    filters List<GetSensitiveTypesFilter>
    isCommon Boolean
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId String
    The OCID of the parent sensitive category.
    sensitiveTypeId String
    sensitiveTypeSource String
    state String
    The current state of the sensitive type.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String
    compartmentId string
    The OCID of the compartment that contains the sensitive type.
    id string
    The provider-assigned unique ID for this managed resource.
    sensitiveTypeCollections GetSensitiveTypesSensitiveTypeCollection[]
    The list of sensitive_type_collection.
    accessLevel string
    compartmentIdInSubtree boolean
    defaultMaskingFormatId string
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    displayName string
    The display name of the sensitive type.
    entityType string
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    filters GetSensitiveTypesFilter[]
    isCommon boolean
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId string
    The OCID of the parent sensitive category.
    sensitiveTypeId string
    sensitiveTypeSource string
    state string
    The current state of the sensitive type.
    timeCreatedGreaterThanOrEqualTo string
    timeCreatedLessThan string
    compartment_id str
    The OCID of the compartment that contains the sensitive type.
    id str
    The provider-assigned unique ID for this managed resource.
    sensitive_type_collections Sequence[datasafe.GetSensitiveTypesSensitiveTypeCollection]
    The list of sensitive_type_collection.
    access_level str
    compartment_id_in_subtree bool
    default_masking_format_id str
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    display_name str
    The display name of the sensitive type.
    entity_type str
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    filters Sequence[datasafe.GetSensitiveTypesFilter]
    is_common bool
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parent_category_id str
    The OCID of the parent sensitive category.
    sensitive_type_id str
    sensitive_type_source str
    state str
    The current state of the sensitive type.
    time_created_greater_than_or_equal_to str
    time_created_less_than str
    compartmentId String
    The OCID of the compartment that contains the sensitive type.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveTypeCollections List<Property Map>
    The list of sensitive_type_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    defaultMaskingFormatId String
    The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
    displayName String
    The display name of the sensitive type.
    entityType String
    The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
    filters List<Property Map>
    isCommon Boolean
    Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    parentCategoryId String
    The OCID of the parent sensitive category.
    sensitiveTypeId String
    sensitiveTypeSource String
    state String
    The current state of the sensitive type.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String

    Supporting Types

    GetSensitiveTypesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSensitiveTypesSensitiveTypeCollection

    GetSensitiveTypesSensitiveTypeCollectionItem

    CommentPattern string
    A regular expression to be used by data discovery for matching column comments.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DataPattern string
    A regular expression to be used by data discovery for matching column data values.
    DefaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the sensitive type.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EntityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    FreeformTags 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 Example: {"Department": "Finance"}
    Id string
    The OCID of the sensitive type.
    IsCommon bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    NamePattern string
    A regular expression to be used by data discovery for matching column names.
    ParentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    SearchType string
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    ShortName string
    The short name of the sensitive type.
    Source string
    Specifies whether the sensitive type is user-defined or predefined.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the sensitive type was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive type was last updated, in the format defined by RFC3339.
    CommentPattern string
    A regular expression to be used by data discovery for matching column comments.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DataPattern string
    A regular expression to be used by data discovery for matching column data values.
    DefaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the sensitive type.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EntityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    FreeformTags map[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 Example: {"Department": "Finance"}
    Id string
    The OCID of the sensitive type.
    IsCommon bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    NamePattern string
    A regular expression to be used by data discovery for matching column names.
    ParentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    SearchType string
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    ShortName string
    The short name of the sensitive type.
    Source string
    Specifies whether the sensitive type is user-defined or predefined.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the sensitive type was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive type was last updated, in the format defined by RFC3339.
    commentPattern String
    A regular expression to be used by data discovery for matching column comments.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    dataPattern String
    A regular expression to be used by data discovery for matching column data values.
    defaultMaskingFormatId String
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the sensitive type.
    displayName String
    A filter to return only resources that match the specified display name.
    entityType String
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    freeformTags Map<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 Example: {"Department": "Finance"}
    id String
    The OCID of the sensitive type.
    isCommon Boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    namePattern String
    A regular expression to be used by data discovery for matching column names.
    parentCategoryId String
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    searchType String
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    shortName String
    The short name of the sensitive type.
    source String
    Specifies whether the sensitive type is user-defined or predefined.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the sensitive type was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive type was last updated, in the format defined by RFC3339.
    commentPattern string
    A regular expression to be used by data discovery for matching column comments.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    dataPattern string
    A regular expression to be used by data discovery for matching column data values.
    defaultMaskingFormatId string
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    The description of the sensitive type.
    displayName string
    A filter to return only resources that match the specified display name.
    entityType string
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    freeformTags {[key: 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 Example: {"Department": "Finance"}
    id string
    The OCID of the sensitive type.
    isCommon boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    namePattern string
    A regular expression to be used by data discovery for matching column names.
    parentCategoryId string
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    searchType string
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    shortName string
    The short name of the sensitive type.
    source string
    Specifies whether the sensitive type is user-defined or predefined.
    state string
    A filter to return only the resources that match the specified lifecycle state.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the sensitive type was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time the sensitive type was last updated, in the format defined by RFC3339.
    comment_pattern str
    A regular expression to be used by data discovery for matching column comments.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    data_pattern str
    A regular expression to be used by data discovery for matching column data values.
    default_masking_format_id str
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    The description of the sensitive type.
    display_name str
    A filter to return only resources that match the specified display name.
    entity_type str
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    freeform_tags Mapping[str, str]
    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 Example: {"Department": "Finance"}
    id str
    The OCID of the sensitive type.
    is_common bool
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    name_pattern str
    A regular expression to be used by data discovery for matching column names.
    parent_category_id str
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    search_type str
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    short_name str
    The short name of the sensitive type.
    source str
    Specifies whether the sensitive type is user-defined or predefined.
    state str
    A filter to return only the resources that match the specified lifecycle state.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the sensitive type was created, in the format defined by RFC3339.
    time_updated str
    The date and time the sensitive type was last updated, in the format defined by RFC3339.
    commentPattern String
    A regular expression to be used by data discovery for matching column comments.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    dataPattern String
    A regular expression to be used by data discovery for matching column data values.
    defaultMaskingFormatId String
    A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the sensitive type.
    displayName String
    A filter to return only resources that match the specified display name.
    entityType String
    A filter to return the sensitive type resources based on the value of their entityType attribute.
    freeformTags Map<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 Example: {"Department": "Finance"}
    id String
    The OCID of the sensitive type.
    isCommon Boolean
    A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
    namePattern String
    A regular expression to be used by data discovery for matching column names.
    parentCategoryId String
    A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
    searchType String
    The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
    shortName String
    The short name of the sensitive type.
    source String
    Specifies whether the sensitive type is user-defined or predefined.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the sensitive type was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive type was last updated, 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi