Rich Lee
2022/03
Personally Identifiable Information (PII)
Personally Identifiable Information (PII)
Cloud DLP API provides access to a powerful sensitive data inspection, classification, and de-identification platform
Cloud DLP detectors
Please update my records with the following information:
phone number: 0921123456, email address: rich.lee@google.com
phone_number
email_address
{
"item":{
"value":"Please update my records: phone number: 0921123456,
email address: rich.lee@google.com"
},
"inspectConfig":{
"infoTypes":[
{
"name":"PHONE_NUMBER"
},
{
"name":"US_TOLLFREE_PHONE_NUMBER"
},
{
"name":"EMAIL_ADDRESS"
}
],
"minLikelihood":"POSSIBLE",
"limits":{
"maxFindingsPerItem":0
},
"includeQuote":true
}
}
{
"result": {
"findings": [
{
"quote": "886921123456",
"infoType": {
"name": "PHONE_NUMBER"
},
"likelihood": "LIKELY",
"location": {
"byteRange": {
"start": "71",
"end": "83"
},
"codepointRange": {
"start": "71",
"end": "83"
}
},
"createTime": "2022-03-13T08:25:50.056Z",
"findingId": "2022-03-13T08:25:50.060104Z8545937852827138005"
},
{
"quote": "rich.lee@google.com",
"infoType": {
"name": "EMAIL_ADDRESS"
},
"likelihood": "VERY_LIKELY",
"location": {
"byteRange": {
"start": "100",
"end": "119"
},
...
Please update my records with the following information:
phone number: 0921123456, email address: rich.lee@google.com
Please update my records with the following information:
phone number: ********56, email address: ****.***@*oogle.com
redacting
{
"item": {
"value":"Please update my records: phone number: 0921123456, email address: rich.lee@google.com",
},
"deidentifyConfig": {
"infoTypeTransformations":{
"transformations": [
{
"primitiveTransformation": {
"characterMaskConfig": {
"maskingCharacter": "*",
"numberToMask": 8,
"reverseOrder": false,
"charactersToIgnore": [
{
"commonCharactersToIgnore": "PUNCTUATION"
}
]
}
}
}
]
}
},
"inspectConfig": {
"infoTypes": [
{
"name": "EMAIL_ADDRESS"
},
{
"name": "PHONE_NUMBER"
}
]
}
}
{
"byteItem": {
"data": "[BASE64-ENCODED-IMAGE]",
"type": "IMAGE_JPEG"
}
}
A job is an action that Cloud Data Loss Prevention (DLP) runs to either scan content for sensitive data or calculate the risk of re-identification.