062. 민감 데이터 처리 샘플 출력 (Sensitive data detection and redaction sample outputs)
- 원문: English
- 위치: Additional capabilities › Data Automation › Sensitive data detection and redaction in Amazon Bedrock Data Automation › Sensitive data detection and redaction sample outputs
한 줄 요약
문서·오디오·이미지 표준 출력과 커스텀 출력에서 PII가 어떻게 표시·마스킹되는지 보여 주는 예시 페이지입니다. 감지 결과는 sensitive_data_detection (커스텀은 blueprint_sensitive_data_detection) 필드에 엔터티 유형과 문자 오프셋으로 들어갑니다.
핵심 내용
| 예시 | 보여 주는 내용 |
|---|---|
| 문서 (마스킹 후) | "text": "- Full Name: [PII]" 처럼 텍스트 요소 안이 대체됨 (PII 마스크 모드) |
| 오디오 (전/후) | audio_segments[].sensitive_data_detection에 entity_type, content, audio_item_indices, 시작/끝 타임스탬프, 문자 오프셋. 마스킹 후 content가 [NAME], 오프셋도 바뀜 |
| 이미지 (마스킹 후) | summary 안의 이름이 [NAME]. sensitive_data_detection.image에 summary/text_words/text_lines별 감지 목록, sensitive_data_type: "PII" |
| 커스텀 출력 (전/후) | 블루프린트 필드(call_summary)별 value와 감지 목록 |
오디오 감지 항목 예 (마스킹 전):
"sensitive_data_detection": [{
"index": 0,
"entity_type": "NAME",
"content": "Mary Major",
"audio_item_indices": [394, 395],
"start_timestamp_millis": 135540,
"end_timestamp_millis": 136380,
"start_character_offset": 15,
"end_character_offset": 25
}]
- 📝 마스킹 후에는 텍스트 길이가 달라지므로 문자 오프셋이 마스킹된 텍스트 기준으로 다시 계산됩니다 (예: 15
25 → 1521). - 전체 응답 형식: InvokeDataAutomationAsync API Reference
SA 관점
- 오디오는
audio_item_indices와 타임스탬프가 함께 오므로, 원본 오디오에서 해당 구간을 비프음 처리하는 후처리를 직접 구현할 수 있습니다(BDA는 입력 파일 자체를 수정하지 않음).