Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Commit 1e77d38

Browse files
authored
Merge pull request #44 from GoogleCloudPlatform/gcs-s3-inspect
Json format fix in Read ME
2 parents 264500c + 9cfefd4 commit 1e77d38

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -569,43 +569,43 @@ gradle run -DmainClass=com.google.swarm.tokenization.S3Import -Pargs=" --streami
569569
1. Modify inspect config file (gcs-s3-inspect-config.json) to add/update the info types you would lilke to use for scan. Below snippet is a sample config file used for demo.
570570

571571
```
572-
{
573-
"inspectTemplate": {
574-
"displayName": "DLP Inspection Config For Demo",
575-
"description": "DLP Config To Inspect GCS and S3 Bucket",
576-
"inspectConfig": {
577-
"infoTypes": [
578-
{
579-
"name": "EMAIL_ADDRESS"
580-
},
581-
{
582-
"name": "CREDIT_CARD_NUMBER"
583-
},
584-
{
585-
"name": "PHONE_NUMBER"
586-
},
587-
{
588-
"name": "US_SOCIAL_SECURITY_NUMBER"
589-
},
590-
{
591-
"name": "IP_ADDRESS"
592-
}
593-
],
594-
"minLikelihood": "POSSIBLE",
595-
"customInfoTypes": [
596-
{
597-
"infoType": {
598-
"name": "ONLINE_USER_ID"
599-
},
600-
"regex": {
601-
"pattern": "\\b:\\d{16}"
602-
}
603-
}
604-
]
605-
}
606-
},
607-
}
572+
{
573+
"inspectTemplate":{
574+
"displayName":"DLP Inspection Config For Demo",
575+
"description":"DLP Config To Inspect GCS and S3 Bucket",
576+
"inspectConfig":{
577+
"infoTypes":[
578+
{
579+
"name":"EMAIL_ADDRESS"
580+
},
581+
{
582+
"name":"CREDIT_CARD_NUMBER"
583+
},
584+
{
585+
"name":"PHONE_NUMBER"
586+
},
587+
{
588+
"name":"US_SOCIAL_SECURITY_NUMBER"
589+
},
590+
{
591+
"name":"IP_ADDRESS"
592+
}
593+
],
594+
"minLikelihood":"POSSIBLE",
595+
"customInfoTypes":[
596+
{
597+
"infoType":{
598+
"name":"ONLINE_USER_ID"
599+
},
600+
"regex":{
601+
"pattern":"\\b:\\d{16}"
602+
}
603+
}
604+
]
605+
}
606+
},
608607
608+
}
609609
```
610610

611611
2. Export Required Parameters

0 commit comments

Comments
 (0)