Get-DlpSensitiveInformationType

This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.

Use the Get-DlpSensitiveInformationType cmdlet to list the sensitive information types that are defined for your organization in the Microsoft Purview compliance portal. Sensitive information types are used by data loss prevention (DLP) rules to check for sensitive information such as social security, passport, or credit card numbers.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-DlpSensitiveInformationType
   [[-Identity] <SensitiveInformationTypeIdParameter>]
   [-Capability <ClassificationCapabilityType>]
   [-IncludeDetails]
   [-IncludeElements <ClassificationPrimitiveElementType>]
   [-Organization <OrganizationIdParameter>]
   [<CommonParameters>]

Description

The RecommendedConfidence property of the returned objects contains a value that represents the default (or recommended) confidence level that should be used with the corresponding sensitive information type.

To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.

Examples

Example 1

Get-DlpSensitiveInformationType

This example lists all the sensitive information types defined for your organization.

Example 2

Get-DlpSensitiveInformationType -Identity "Credit Card Number" | Format-List

This example lists all the properties of the sensitive information type named "Credit Card Number".

Parameters

-Capability

{{ Fill Capability Description }}

Type:ClassificationCapabilityType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance

-Identity

The Identity parameter specifies the sensitive information type that you want to view. Valid values are:

  • Name
  • Id (GUID value)
Type:SensitiveInformationTypeIdParameter
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Security & Compliance

-IncludeDetails

{{ Fill IncludeDetails Description }}

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance

-IncludeElements

{{ Fill IncludeElements Description }}

Type:ClassificationPrimitiveElementType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance

-Organization

This parameter is reserved for internal Microsoft use.

Type:OrganizationIdParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Security & Compliance