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
Default (Default)
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
Applicable: Security & Compliance
{{ Fill Capability Description }}
Parameter properties
Type: | ClassificationCapabilityType |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
Applicable: Security & Compliance
The Identity parameter specifies the sensitive information type that you want to view. Valid values are:
- Name
- Id (GUID value)
Parameter properties
Type: | SensitiveInformationTypeIdParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-IncludeDetails
Applicable: Security & Compliance
{{ Fill IncludeDetails Description }}
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-IncludeElements
Applicable: Security & Compliance
{{ Fill IncludeElements Description }}
Parameter properties
Type: | ClassificationPrimitiveElementType |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Organization
Applicable: Security & Compliance
This parameter is reserved for internal Microsoft use.
Parameter properties
Type: | OrganizationIdParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.