Security and data
This page is written for the person who has to approve SurveyCX for a contact centre.
Where it runs
SurveyCX is a CloudFormation stack in your AWS account: Lambda functions, one DynamoDB table, a Kinesis stream, an HTTP API, a private S3 bucket behind CloudFront, a Cognito user pool, EventBridge rules and CloudWatch alarms. EKPK LLC has no access to the account, the table or the answers. Every release ships with its template and SHA-256 checksums; the source repository is opened to customers and prospects on request. The full resource list, the permissions of each function and the running cost are in Deploying the stack; the trust center collects the compliance material, the DPA and the terms.
What leaves the account
- One number a day to AWS Marketplace: how many survey responses completed, for billing. Nothing else about the contact, the customer or the agent.
- Survey scores to Arena, only if you configure the Arena feed, and only to the Arena stack you point it at (normally in the same account).
- SMS and email through AWS End User Messaging and Amazon SES, in your account.
- Once a day, from the console: an anonymous install id (a hash of the stack id), the SurveyCX version and the AWS region, to EKPK's telemetry endpoint, so EKPK knows how many installs run each version and the console can say when a newer release exists.
Telemetry=disabled turns it off; the console then reads surveycx.ai directly.
- Only with
Diagnostics=enabled (off by default): each alarm state change, as alarm name, state, reason, version, region and install id, to EKPK support, so a failing stack is seen before you report it.
Nothing else: no survey, customer, agent or account data ever leaves, and no third-party service is involved.
What is stored
Per response: the contact id, survey id, agent id and name, queue, channel, status, timestamps, the answers (including free text) and the scores. Phone numbers and email addresses are stored only as SHA-256 hashes, used for the frequency cap and the opt-out list; the queued invitation holds the address until it is sent, for at most a day. The web survey link is a random token with a 14-day life.
Free-text answers may contain whatever the customer typed or said, with two exceptions that never reach the table: payment card numbers (13 to 19 digits that pass the Luhn check) and social security numbers are masked on every channel before the answer is stored, so the stack stays out of PCI scope even if a caller reads out a card. Settings › What is stored from comments can additionally mask emails, phone numbers, account references, links and self-introductions at storage. With VerbatimAnalysis disabled (the default) they never leave the table. With it enabled, a redacted copy (emails, phone, card and account numbers, ids, links and self-identification masked) is sent to Amazon Comprehend and Amazon Bedrock in your own account and region for sentiment and themes; neither service trains on your data. See Verbatim analysis.
Retention and deletion
- Responses expire after RetentionDays (default 400) through DynamoDB TTL.
- Settings > Privacy requests deletes every response for a phone number, email or contact id and adds the customer to the opt-out list, for GDPR and CCPA requests.
- Deleting the stack deletes the table. Point-in-time recovery keeps 35 days of backups while the stack exists.
Access
- Supervisors and agents sign in through Cognito (hosted UI, authorization code with PKCE) or your own identity provider: passwords of 12 characters or more, an authenticator app that each user can enrol or that the
Mfa parameter can require for everyone, and no self-service sign-up. The only sign-in callbacks the client accepts are the stack's own CloudFront pages (a DevCallbacks parameter adds localhost for developing SurveyCX itself). Supervisors build surveys, change settings and see everything; agents see only their own results. With AuthMode=external the stack creates no user pool at all: the console pages sign in at your own OpenID Connect provider (Okta, Entra ID, Google Workspace and the like) and the API accepts only its tokens, so single sign-on is enforced and no password path exists. How to register the application and map supervisors is in Sign-in and single sign-on.
- The agent panel for the Connect agent workspace signs in like the results page and shows an agent only their own responses and only the customer behind a contact assigned to them (checked through DescribeContact). With Customer Profiles enabled, the last score, date, agent and a redacted comment are written onto the customer's profile in your own instance.
- The web survey, the ingest endpoints and the data endpoint are reachable without sign-in; the token or key in the URL is the credential. Tokens and keys are random; keys are shown once, stored only as a SHA-256 hash (the table cannot give a key back), and can be revoked; ingest keys cannot read.
- Customer phone numbers and email addresses are stored only as hashes, with one exception: with the recovery message or the "was it resolved?" question switched on, the address of a customer from a platform other than Amazon Connect is kept on their customer record (encrypted at rest, expiring with
RetentionDays) so the message can be sent; on Amazon Connect the address is read back from the contact and never stored.
- Webhook signing secrets, the Arena ingest key, the Slack and Teams webhook URLs, the Zendesk API token, the Salesforce consumer secret and the Zoom client secret and webhook secret token are kept in AWS Systems Manager Parameter Store as SecureString parameters under
/surveycx/<stack>/, encrypted with the AWS-managed key; the settings row holds only references, and the console shows them masked. These routes are rate-limited at the API gateway (20 requests a second for survey links and ingest, 2 for the data endpoint).
- Every survey change, setting change, deletion, key creation and follow-up edit is logged to CloudWatch with the user who made it, and appended to a tamper-evident audit log in the table: each row's hash covers the previous row, so an edited or removed row breaks the chain. Supervisors export it as CSV or JSON from Settings › Audit log, which also reports whether the chain verifies.
Encryption
DynamoDB, Kinesis and S3 are encrypted at rest with AWS-managed keys. All traffic is HTTPS; the site sends HSTS and a content security policy.
Compliance notes
Penetration testing. An automated OWASP ZAP test (spider and active scan) runs against the development stack with every release that changes an entry point or a header, and at least quarterly; the method, each run and the triage of every alert are in the repository (docs/ftr/pentest/README.md). The first run, 2026-11-22 on 0.20.0, found nothing high; its low findings (transport headers on the API path, the Server header) are fixed in 0.20.1. An external manual test follows the public listing.
No third-party code. The functions load only first-party files, Node built-ins and the AWS SDK the Lambda runtime provides; a test in the suite fails when anything else is required or bundled, and the release script builds nothing while the suite fails. The Well-Architected review of the stack, the IAM inventory generated from the template and the FTR pack are kept in the repository (docs/ftr/) and re-run per release.
- TCPA / 10DLC: SMS invitations are transactional messages to customers who just contacted you. SurveyCX enforces a send window, a frequency cap, at most one reminder and STOP handling; registering your number and keeping consent records remain your responsibility.
- CAN-SPAM: email invitations are transactional; the survey page carries an opt-out link.
- GDPR / CCPA: data minimisation (hashed addresses), retention limits, deletion on request, and data that never leaves your account and region.
- HIPAA: the stack uses HIPAA-eligible AWS services; avoid free-text questions that invite health details, or disable free text for those queues.
- Accessibility: the web survey follows WCAG 2.1 AA; the accessibility conformance report (VPAT 2.5 format) lists every criterion with the evaluation method.
- Auditors: the control mapping relates the stack's controls to the SOC 2 Trust Services Criteria and ISO 27001 Annex A.
Current as of version 0.21.0. See the release notes for what changed since.