-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [M3-9024] - Mask sensitive data in Managed and Longview (#11476)
* Add maskable text to Managed Contacts * Update the docs link URL to a more helpful doc * Make component for reusable copy * Use component in Billing Contact Info and SSH Access Pub Key * Make MaskableText icon styling more flexible; add to Longview command * Add masking to Longview API Key * Clean up styles * Mask IP in Longview * Mask IP Address on SSH Access Managed tab * Fix margin for API Key * Fix spacing for Longview API key * Mask user in Managed and Longview * Added changeset: Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled
- Loading branch information
Showing
12 changed files
with
194 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Fixed | ||
--- | ||
|
||
Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled ([#11476](https://github.com/linode/manager/pull/11476)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/manager/src/components/MaskableText/MaskableTextArea.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Typography } from '@linode/ui'; | ||
import React from 'react'; | ||
|
||
import { Link } from '../Link'; | ||
|
||
/** | ||
* This copy is intended to display where a larger area of data is masked. | ||
* Example: Billing Contact info, rather than masking many individual fields | ||
*/ | ||
export const MaskableTextAreaCopy = () => { | ||
return ( | ||
<Typography> | ||
This data is sensitive and hidden for privacy. To unmask all sensitive | ||
data by default, go to{' '} | ||
<Link to="/profile/settings">profile settings</Link>. | ||
</Typography> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.