Skip to content

Clarify DataClassificationSet semantics #46266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/core/extensions/data-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ If you want to share your custom classification taxonomy with other apps, this c

<xref:Microsoft.Extensions.Compliance.Classification.DataClassificationSet> lets you compose multiple data classifications into a single set. This allows you classify your data with multiple data classifications. In addition, the .NET redaction APIs make use of a <xref:Microsoft.Extensions.Compliance.Classification.DataClassificationSet>.

> [!NOTE]
> Multiple data classifications going together as a <xref:Microsoft.Extensions.Compliance.Classification.DataClassificationSet> are treated as a single classification. You can think of it as a logical `AND` operation. For example,
if you configured redaction for data classified as a <xref:Microsoft.Extensions.Compliance.Classification.DataClassificationSet> of `PrivateInformation` and `SocialSecurityNumber`, it will not apply to data classified as only `PrivateInformation` or only `SocialSecurityNumber`.

## Create custom classification attributes

Create custom attributes based on your custom classifications. Use these attributes to tag your data with the right classification. Consider the following custom attribute class definition:
Expand Down
Loading