connect/ctr redaction policy to every Amazon Connect CTR read from Kinesis and ships only the surviving record to Operata.
For the policy rules and endpoints, see Redaction policy. For the model behind redaction, see Privacy and redaction.
Field tiers
Every field in a CTR falls into one of four tiers.
With no
ALLOW or DENY rules, a CTR reaches Operata with every key present but only the mandatory values filled in.
Processing order
The Lambda checks each field against the tiers in order and applies the first one that matches.- Mandatory. Keep the field. If a mandatory field sits under a denied parent, keep the parent and remove its other children.
- Deny. Remove the field and everything under it.
- Allow. Keep the field and everything under it.
- Default. Set the value to
null.
DENY on a parent removes it even when an ALLOW names one of its children. An ALLOW on a parent with a DENY on a child keeps every child except the denied one.
Path notation
Rules use dot notation against the CTR JSON. For the full syntax, including wildcards and filters, see Field paths.Attributesmatches the wholeAttributesobject.CustomerEndpoint.Addressmatches only that subfield.Attributes.*matches every direct child ofAttributes.[Channel == 'CHAT'].Agent.ARNmatchesAgent.ARNonly on chat CTRs.
Chat CTRs
The Lambda always collects voice CTRs. It collects chat and other non-voice CTRs only when chat collection is on for your Operata Group. Operata manages this setting. If the Lambda can’t read it, it treats chat collection as off and drops non-voice CTRs. Chat CTRs carry extra mandatory fields, such asChatMetrics. They appear in the keep-list with a [Channel == 'CHAT'] prefix. On voice CTRs, those fields follow your ALLOW and DENY rules like any other field.
Data flow
Mandatory keep-list
The Lambda always preserves these fields. To see the current list for your Operata Group, read your policy with Get redaction policy.All CTRs
Chat CTRs only
Related
- Redaction policy — the rule model, path syntax, and endpoints.
- Configure CTR redaction — set your CTR redaction policy step by step.
- Configure CTR redaction (legacy) — the rollout for Cloud Collector releases before v1.2.3.
- Privacy and redaction — the cross-integration model.
- Contact trace records — the CTR fields these paths reference.
- Lex redaction schema and Contact Flow Log redaction schema — the sibling schemas.
- Install CTR collection for Amazon Connect — the integration this schema applies to.