이제 Cloud Data Loss Prevention(Cloud DLP)은 민감한 정보 보호에 포함됩니다. API 이름은 Cloud Data Loss Prevention API(DLP API)로 그대로 유지됩니다. 민감한 정보 보호를 구성하는 서비스에 대한 자세한 내용은 민감한 정보 보호 개요를 참조하세요.
Sensitive Data Protection은 지정한 기준에 따라 이미지의 민감한 텍스트와 객체를 검사하고 수정할 수 있습니다.
Sensitive Data Protection은 infoType 감지기를 사용하여 base64로 인코딩된 이미지를 검사하고 이미지 내에서 민감한 정보를 감지합니다. 그런 다음 민감한 정보 보호는 이미지 내의 민감한 정보의 위치에 대한 정보를 반환하거나 민감한 정보를 불투명한 직사각형으로 마스킹하여 수정할 수 있습니다.
검사 및 수정은 별개의 작업입니다.
검사: Sensitive Data Protection에서 제출된 base64 인코딩 이미지에서 지정된 intoType을 검사합니다. DLP는 감지된 infoType과 함께 하나 이상의 픽셀 좌표 및 크기 집합을 반환합니다.
각 픽셀 좌표 값과 크기 값 집합은 각각 왼쪽 하단 모서리 및 경계 상자의 크기를 나타냅니다. 각 경계 상자는 Sensitive Data Protection 발견 항목의 전체 또는 일부에 해당합니다.
수정: Sensitive Data Protection에서 제출된 base64 인코딩 이미지에서 지정된 infoType을 검사합니다. Sensitive Data Protection은 민감한 정보 발견 항목을 불투명한 직사각형으로 마스킹하여 수정합니다.
수정된 base64 인코딩 이미지를 원본 이미지와 동일한 이미지 형식으로 반환합니다. 요청에서 수정 상자의 색상을 구성할 수도 있습니다.
이미지 검사 정보
Sensitive Data Protection 검사 서비스는 base64로 인코딩된 이미지를 허용하고 이미지에서 검사 기준과 일치하는 데이터를 검색합니다. Sensitive Data Protection은 감지된 민감한 정보의 위치를 반환합니다.
다음 이미지를 살펴보세요.
원본 이미지(확대하려면 클릭)
이미지 검사 프로세스는 다음과 같습니다.
DLP API에 content.inspect 요청을 보냅니다. 요청에는 base64로 인코딩된 이미지와 감지 기준이 포함된 검사 구성이 포함됩니다.
Sensitive Data Protection은 검사 구성을 사용하여 이미지를 스캔하고 일치하는 항목을 식별합니다.
Sensitive Data Protection은 감지 기준에 따라 민감한 정보를 발견한 이미지 내 리전의 좌표와 크기를 반환합니다.
반환된 좌표는 민감한 정보를 찾을 위치를 나타냅니다. Sensitive Data Protection은 종종 여러 상자를 사용하여 이미지에서 민감한 정보의 단일 인스턴스 위치를 나타냅니다.
Sensitive Data Protection이 이미지에서 감지 기준에 해당하는 데이터를 찾지 못하면 비어있는 성공적인 HTTP 200 응답을 반환합니다.
이미지 수정 정보
이미지 수정은 이미지 검사와 유사하며 한 단계만 더 진행하면 됩니다. Sensitive Data Protection이 이미지 내의 민감한 정보의 위치를 식별하면 데이터가 포함된 영역의 좌표를 반환하는 대신 해당 영역에 불투명한 직사각형을 배치하고 수정된 base64 인코딩 이미지를 반환합니다.
수정된 이미지 (확대하려면 클릭)
이미지 수정 프로세스는 다음과 같습니다.
DLP API에 image.redact 요청을 보냅니다. 요청에는 base64로 인코딩된 이미지와 감지 기준이 포함된 이미지 수정 구성이 포함됩니다.
Sensitive Data Protection은 이미지 수정 구성을 사용하여 이미지를 스캔하고 일치하는 항목을 식별합니다.
Sensitive Data Protection은 감지된 모든 민감한 정보를 불투명한 직사각형으로 가려서 수정합니다. 그런 다음 base64에서 이미지를 인코딩하고 수정된 이미지를 요청 응답에 반환합니다.
Sensitive Data Protection이 이미지에서 감지 기준에 해당하는 데이터를 찾지 못하면 base64로 인코딩된 이미지를 변경하지 않고 반환합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Image inspection and redaction\n\nSensitive Data Protection can inspect for and redact sensitive text and objects in\nimages, according to criteria that you specify.\n\nUsing [infoType detectors](/sensitive-data-protection/docs/infotypes-reference), Sensitive Data Protection inspects\na base64-encoded image and detects sensitive data within\nthe image. Sensitive Data Protection can then return information about the location\nof sensitive data within the image or redact the sensitive data by masking it\nwith an opaque rectangle.\n\nInspection and redaction are two distinct operations:\n\n- *Inspection*: Sensitive Data Protection inspects the submitted base64-encoded image for the specified intoTypes. It returns the detected InfoTypes, along with one or more set of pixel coordinates and dimensions. Each set of pixel coordinate and dimension values indicate the bottom-left corner and the dimensions of bounding boxes, respectively. Each bounding box corresponds to all or part of a Sensitive Data Protection finding.\n- *Redaction*: Sensitive Data Protection inspects the submitted base64-encoded image for the specified infoTypes. Sensitive Data Protection redacts any sensitive data findings by masking them with opaque rectangles. It returns the redacted base64-encoded image in the same image format as the original image. You can also configure the color of the redaction boxes in the request.\n\nAbout image inspection\n----------------------\n\nThe Sensitive Data Protection inspection service accepts a base64-encoded image\nand then searches the image for any data that\nmatches its inspection criteria. Sensitive Data Protection returns the\nlocations of any sensitive data that it detects.\n\nConsider the following image.\n[](/static/sensitive-data-protection/docs/images/objects-in-image.png) Original image (click to enlarge).\n\nThe image inspection process is as follows:\n\n1. You send a [`content.inspect`](/sensitive-data-protection/docs/reference/rest/v2/projects.locations.content/inspect) request to the DLP API. The request contains the base64-encoded image and the inspection configuration, which contains your detection criteria.\n2. Sensitive Data Protection scans the image using the inspection configuration and identifies any matches.\n3. Sensitive Data Protection returns the coordinates and dimensions of the regions within the image where it found sensitive data according to your detection criteria.\n\nThe returned coordinates indicate where to find the sensitive data. Be aware\nthat Sensitive Data Protection often uses multiple boxes to indicate where a single\ninstance of sensitive data is in the image.\n\nIf Sensitive Data Protection doesn't find any data in the image that corresponds\nto your detection criteria, it returns an empty, successful HTTP 200 response.\n\nAbout image redaction\n---------------------\n\nImage redaction is similar to image inspection, with one additional step. After\nSensitive Data Protection identifies the locations of sensitive data within\nthe image, instead of returning the coordinates of the areas that contain the\ndata, it places opaque rectangles on those areas, returning a redacted,\nbase64-encoded image.\n[](/static/sensitive-data-protection/docs/images/objects-redacted.png) Redacted image (click to enlarge).\n\nThe image redaction process is as follows:\n\n1. You send an [`image.redact`](/sensitive-data-protection/docs/reference/rest/v2/projects.locations.image/redact) request to the DLP API. The request contains the base64-encoded image and the image redaction configuration, which contains your detection criteria.\n2. Sensitive Data Protection scans the image using the image redaction configuration and identifies any matches.\n3. Sensitive Data Protection redacts all detected sensitive data by covering it with an opaque rectangle. It then encodes the image in base64 and returns the redacted image in the request response.\n\nIf Sensitive Data Protection doesn't find any data in the image that corresponds\nto your detection criteria, it returns the base64-encoded image unchanged.\n\nWhat's next\n-----------\n\n- Learn how to [inspect images for sensitive data using\n Sensitive Data Protection](/sensitive-data-protection/docs/inspecting-images).\n- Learn how to [redact sensitive data from images using\n Sensitive Data Protection](/sensitive-data-protection/docs/redacting-sensitive-data-images).\n- Learn more about [creating a de-identified copy of data in\n storage](/sensitive-data-protection/docs/concepts-deidentify-storage)."]]