Home > Blockchain >  Google Cloud DLP - InfoType Detection, no results (Ruby)
Google Cloud DLP - InfoType Detection, no results (Ruby)

Time:03-09

I'm able to run inspection against text content without any issues, but am never able to get any positive findings against images. I'm running code that's almost exactly like the example code here: example #1

example #2

I've also tried using the EMAIL_ADDRESS InfoType and pictures with email addresses in them with the same results. Some of the docs reference sending in a Base64 version of the image and I tried wrapping Base64.encode64(File.open(abs_filename, 'rb').read) with no luck as well. Any help or ideas here appreciated!

CodePudding user response:

The credit card examples you gave fail checksum checks (I tried typing them in on enter image description here

  • Related