Package-level declarations

Types

Link copied to clipboard

Data classification levels per ISO 27001 A.8.2.

Link copied to clipboard
data class DataClassificationPolicy(val enabled: Boolean = false, val defaultClassification: DataClassification = DataClassification.INTERNAL, val piiClassification: DataClassification = DataClassification.CONFIDENTIAL)

Policy for automatic data classification tagging.

Link copied to clipboard
class HardwareAcceleratedDetector(fallback: PiiDetector, modelHash: String? = null, mlTimeoutMs: Long = 200) : PiiDetector

Optional NNAPI-backed PII detector wrapper.

Link copied to clipboard

Action to take when PII is detected.

Link copied to clipboard

PII detection strategy.

Link copied to clipboard
interface PiiDetector

Interface for detecting PII in event payloads.

Link copied to clipboard
data class PiiFinding(val jsonPath: String, val piiType: PiiType, val confidence: Float)

A single PII finding within a payload.

Link copied to clipboard
data class PiiPolicy(val enabled: Boolean = false, val detectionMode: PiiDetectionMode = PiiDetectionMode.RULE_BASED, val action: PiiAction = PiiAction.REJECT, val minimumConfidence: Float = 0.7f, val fieldExclusions: Set<String> = emptySet(), val mlTimeoutMs: Long = 200)

Policy controlling PII detection behavior.

Link copied to clipboard

Redacts PII from JSON payloads by replacing detected values.

Link copied to clipboard
data class PiiScanResult(val findings: List<PiiFinding>)

Result of a PII scan.

Link copied to clipboard

Types of PII that can be detected.

Link copied to clipboard
data class RedactionResult(val redactedJson: String, val redactedPaths: List<String>)

Result of a PII redaction operation.

Link copied to clipboard
class RegexPiiDetector(minimumConfidence: Float = 0.7f, fieldExclusions: Set<String> = emptySet()) : PiiDetector

Regex-based PII detector.