Process Mining Last updated November 18, 2026
How We Built Secure Process Mining in the Cloud
Serverless Lambdas, Athena, Aurora and AWS EU hosting: how ProcessMind runs process mining without customer-managed servers, and where the cloud wins.
Why process mining security starts with the data path
A process mining analysis needs an event log: a case identifier, a timestamp, an activity, and often attributes such as customer, region, amount or employee. That is operational data, and in most organizations it is personal data. The security question goes wider than “is the platform encrypted?” It also covers where the log lives, who can query it, which tenant it belongs to, and what happens when a query goes wrong.
Those questions are decided by the architecture. A setting added at the end cannot fix them. ProcessMind was built as a cloud-native platform on AWS. There is no virtual appliance to install, no database for a customer to size, and no long-lived application server for a customer to patch. The platform uses managed services for the parts that are hard to operate safely, and keeps the security boundaries in code that can be reviewed. See how process mining works on the platform.
Most process mining does not need personal data
The event log can be sensitive, but the analysis usually does not need the identity behind the case. ProcessMind needs three things per event: a case identifier, an activity and a timestamp. Everything else is optional. Most questions (where work waits, which variants dominate, which handoffs create rework) are answered with those three fields plus dimensions such as team, role, region, product, channel or amount band.
Names, email addresses, phone numbers, postal addresses and free-text notes are not required. A customer number or invoice number can be replaced by a pseudonymous case ID. If resource analysis is the point, a stable pseudonymous user token is enough; you do not need the person’s name.
Pseudonymize at the source, before the export leaves your systems. Replace direct identifiers with stable tokens: a salted hash or a surrogate key for the case ID, a separate token for the user or team, and a coarse band for amount or age where the exact value is not needed. Keep the mapping in your own identity system or a controlled lookup table, not in the dataset you upload. The case ID must stay stable across every event in the case, or the process will fragment; a token does that as well as a name.
Remove free-text fields. Notes, comments and descriptions are where personal data hides, and they are hard to analyze consistently. If a field is not needed to answer the question, leave it out. If it is needed only for a follow-up, keep it in the source system and re-identify there with the token, not in ProcessMind.
Pseudonymization is not anonymization. If the mapping exists, the data can be re-identified and may still be personal data under GDPR. Keep the mapping under your own access controls, and let your privacy team decide whether the result is anonymous for your purpose.
This is data minimization, and it is the strongest control available: data that never reaches the platform cannot leak from it or end up in a backup. ProcessMind still isolates, encrypts and audits what you upload; removing unnecessary identity data reduces what those controls have to protect. The required fields and the privacy checklist are in What is needed to run process mining and Data Cleaning and Preparation.
The architecture in one table
| Layer | AWS service | What it does | Security property |
|---|---|---|---|
| Upload and event data | Amazon S3 | Stores uploaded logs and Athena query results | Private buckets, KMS encryption, TLS-only access, versioning |
| Query | Amazon Athena | Queries event data in S3 | No database server to size; 5 GiB per-query scan cap; encrypted results; tenant-scoped role |
| Metadata and tenant state | Amazon Aurora PostgreSQL | Stores accounts, models, tenants and relational data | Private subnets, no public access, KMS encryption, IAM and Secrets Manager, backups and point-in-time recovery |
| Application logic | AWS Lambda | Runs API handlers and background work | Short-lived, no operating system to patch, scoped IAM roles |
| Identity | Microsoft, Google, LinkedIn, enterprise SSO | Authenticates users | No passwords stored; MFA and access policy come from the identity provider |
| Edge | CloudFront and API Gateway | Serves the site and the APIs | TLS 1.2 or higher, security headers, HTTPS APIs |
The split matters. Event data is large and analytical, so it belongs in object storage queried by an engine built for that job. Metadata and tenant state are relational and transactional, so they belong in a managed PostgreSQL database. Identity belongs with an identity provider that already enforces your organization’s MFA and access policy. Each service does one job, and each boundary can be scoped separately.
Why serverless is a security decision
A long-lived server is a standing invitation: an operating system to patch, a port to defend, a process to monitor, a certificate to renew and an owner to wake up when something drifts. A Lambda function has none of those in the customer’s hands. It runs when it is invoked, finishes, and disappears.
ProcessMind’s application logic runs on AWS Lambda and AWS-managed services. The functions are short-lived by design, and work that takes longer is handed to queued or asynchronous processing rather than kept alive in one process. That changes the security posture in three ways:
- Less to patch. There is no customer-managed application server running an operating system that needs monthly maintenance. AWS patches the managed services underneath.
- Less standing access. A server that runs all day needs credentials and network access all day. A function can receive a scoped role for the work it is doing and nothing more.
- Less blast radius. A failed invocation can be retried, isolated or sent to a dead-letter queue. It does not leave a half-configured server behind.
Serverless does not mean “no infrastructure”. ProcessMind still runs a VPC, a database, storage, logging and IAM. The difference is who operates them: AWS operates the managed services, and the platform team operates the configuration and the boundaries. A customer does not inherit a machine.
Production and development run in separate AWS accounts, with separate databases and separate infrastructure stacks. Developer credentials do not provide access to production customer data.
Athena: query the data where it lives
Process mining queries have a distinctive shape. They scan a lot of events, group them by case, calculate transitions and variants, and then show a small result. Moving all of that data into a database server is one option. Keeping it in object storage and querying it where it lives is a better fit for the workload.
Athena is the query engine. Event data is stored in S3, and Athena runs SQL against it without a database cluster to size or keep warm. Each stage has its own Athena workgroup, and every application query in that workgroup is capped at 5 GiB scanned. That cap is a guardrail: one mistaken dashboard query cannot scan an unbounded amount of data. Query results are encrypted with a customer-managed AWS Key Management Service (KMS) key.
The tenant boundary is the more important control. A Lambda function does not get broad Athena access. It assumes a tenant-scoped role, and an inline session policy narrows that role to a single tenant’s Glue database and S3 prefixes for the duration of the query. The base role may exist for the platform, but the session cannot read another tenant’s data. The session credential is narrower than the job it is used for, which is what a least-privilege policy is supposed to produce.
Aurora: the managed database for metadata and tenant state
The event data is not the only data in a process mining platform. There are accounts, organizations, models, documentation, roles, dashboards and tenant settings. That state is relational, and it needs transactions, constraints and backups. It lives in Amazon Aurora PostgreSQL.
The database is managed, but the isolation is deliberate. Each customer tenant receives a dedicated PostgreSQL database inside a shared Aurora cluster, with per-tenant access controls. Shared metadata sits in a separate multi-tenant database. Tenant- and organization-scoped shared tables are protected by PostgreSQL row-level security enforced through request-scoped database context. A tenant gets its own database inside the cluster rather than a row in a shared table that every tenant can read.
The operational details matter as much as the isolation model:
- Aurora runs in private subnets with no internet egress and is not publicly accessible.
- Application Lambdas reach Aurora through the RDS Data API over TLS using IAM and Secrets Manager authentication.
- Database credentials are stored in Secrets Manager and rotate automatically every 30 days.
- The cluster enforces SSL, encrypts storage with customer-managed KMS keys, keeps seven days of automated backups encrypted with the same keys, and supports point-in-time recovery.
- The cluster is retained on delete, with a snapshot, so an accidental removal does not silently destroy tenant data.
Aurora Serverless v2 adjusts capacity with the workload. Database compute grows when the work arrives and scales back when it stops, instead of being sized for a peak that most teams never reach.
Identity: no passwords, and MFA where it belongs
ProcessMind does not ask users to create a separate password. Sign-in is delegated to an identity provider:
- Microsoft Entra ID (Azure AD)
- Google OAuth 2.0 / OIDC
- LinkedIn OAuth 2.0 / OIDC
- Enterprise SSO under an Enterprise agreement, for organizations that need their own identity provider and access policy
ProcessMind acts as a relying party. It receives the identity information needed to identify the account, and it does not store user passwords. Multi-factor authentication is enforced by the identity provider. If your Microsoft or Google tenant requires MFA or conditional access, that policy applies to the ProcessMind sign-in as well. You do not have to maintain a second password policy or a second reset flow, and access management stays with the identity provider you already run.
Sessions use signed JSON Web Tokens in secure, HttpOnly cookies with SameSite and Secure flags. The token signature is validated on each authenticated request. Authorization is enforced in shared Lambda handler wrappers that check the session and the tenant scope before business logic runs. Public routes are explicitly allowlisted for sign-in, webhooks, event ingestion and CORS preflight.
For an organization that already runs Microsoft or Google, the password lifecycle stays where it belongs, and ProcessMind stays out of the password business. Sign-in events, role changes and administrative actions are recorded in the audit log, which is the next layer of the security model.
Audit log: what is recorded, and what is not
ProcessMind keeps one append-only audit log for security-relevant and administrative actions. It is separate from application logs, HTTP access logs and the product activity feed, and it is separate from the process change history: model, documentation and simulation edits belong to that product history, not to the audit log.
The audit log uses a fixed action vocabulary. It records authentication (sign-in success, failure and blocked attempts, sign-out, token issuance and handoff), authorization (access denials, role grants and revocations), API-key creation, scope changes and revocation, user and membership changes, organization lifecycle, artifact upload, download and deletion, tabular-data upload and update, export downloads, webhook changes, AI feature use, billing and plan changes, privileged console actions and destructive scheduled jobs. A failed audit write is alarmed separately rather than written back into the log.
Each record identifies the actor (type, account and email where available), the action code, the affected resource, the outcome, the severity, the event and ingestion times, the organization and tenant, the source service, the environment and region, and a request correlation identifier. The action vocabulary is closed: a new action requires a reviewed registry change that declares its payload schema and capture policy. Passwords, tokens, API-key values, cookies, authorization headers, request or response bodies, file contents, presigned URLs and AI prompts or completions are never written to the audit log. AI runs are recorded by feature, surface, model and result only.
The log is append-only. No application role holds UPDATE or DELETE, a database trigger rejects both, and a single writer validates the action code and payload against the registry. Records are retained for at least ten years in EU Frankfurt, encrypted with a customer-managed KMS key. A live copy is written to an access-controlled CloudWatch log group so an incident can be investigated while it is happening.
On Process Architecture and above, customers can read their own trail in Settings → Audit → Audit Log, scoped to their tenant or organization, and filter by action, actor, resource, outcome and date range. The same records are available through GET /api/audit and the external API GET /v1/tenant/{tenantId}/audit; a bounded export is available through the audit export endpoint. The in-app view covers the most recent 90 days, while the underlying table keeps the full ten-year retention window. An Enterprise organization can enable a per-organization, Object-Locked S3 archive with a nightly manifest reconciliation for SIEM pull.
The audit log is not a record of every read of customer data. Downloads and exports are recorded because they are exfiltration-relevant; in-app browsing is not. ProcessMind does not currently offer a native SIEM push connector or customer-facing alerting, and does not claim a hash-chained ledger. The scope, the record fields and the non-claims are set out in the Audit Log and SIEM statement.
Payments: we never store your card
ProcessMind does not store credit card numbers. Payments run through Paddle, our Merchant of Record and payment provider. Card details are entered in Paddle’s checkout, which the app opens when you subscribe or change a payment method. They go to Paddle; they do not pass through ProcessMind’s servers, database, logs or backups.
What ProcessMind keeps is subscription metadata: the Paddle subscription and product identifiers, status, billing interval, next billing date, seat and add-on quantities, and any agreed discount. The billing screen shows the card brand, last four digits, expiry and cardholder name that Paddle returns for the subscription. It never shows a full card number, because we do not have one.
The reason is scope reduction as much as trust. A company that stores card numbers has to run the controls that go with them: PCI DSS scope, key management, access control, logging, retention and incident response for card data. We would rather not carry that in a process mining platform. Paddle is a payments specialist and Merchant of Record; it has processed more than $6 billion in transactions and maintains a PCI DSS 4.0.1 attestation of compliance and a SOC 2 Type II report. That is a better place for a card number than our database.
Paddle is a sub-processor. It is listed on our public sub-processor list, the Data Processing Addendum covers the transfer, and Paddle handles tax calculation and invoicing as Merchant of Record. The trade-off is that a payment-method change depends on Paddle’s checkout being available; the workspace itself does not.
You can see the boundary in the product: Billing and Payments shows the payment method Paddle holds, and the update button opens Paddle’s checkout. The full card number is not in our database, our logs or our backups.
How least privilege works here
“Least privilege” is easy to put on a slide. It is harder to make true in a platform with a query engine, a database, object storage, queues and functions. The controls are specific:
- IAM roles are scoped to the minimum resources required where the framework permits precise scoping.
- Athena access is tenant-scoped at session time, not just at role creation. The session policy restricts Glue and S3 access to one tenant’s database and prefixes.
- Database access is tenant-scoped through the application and through row-level security on shared tables.
- Lambda functions receive only the bindings they need for the route or job they run.
- Production and development credentials are separated by AWS account and by secret.
There is a caveat. Some SST/CDK-generated roles use broader managed or inline policies because the framework does not expose a narrower configuration. Those cases are reviewed, resource-scoped where possible, and tracked as explicit exceptions rather than quietly accepted. The security measures page lists them. Least privilege is something a reviewer can audit in the credentials and policies, and the exceptions are on the record.
Encryption, logging and the update cycle
Encryption is defined in the infrastructure code, so it does not depend on a checklist someone remembers at launch.
- In transit: TLS 1.2 or higher between clients and ProcessMind services, HTTPS for customer-facing endpoints, and TLS for database and AWS service calls. CloudFront negotiates TLS 1.3 where the client supports it, with TLS 1.2 as the compatibility floor.
- At rest: Aurora, customer-data S3 buckets, CloudWatch log groups, SNS topics and SQS queues use customer-managed KMS keys with automatic rotation. A few static build buckets managed by SST use AWS-managed SSE-S3 encryption; they do not hold customer data.
- Secrets: database credentials live in AWS Secrets Manager and rotate every 30 days. Production keys and secrets are never stored in source code.
Logging is part of the same design. HTTP API and WebSocket access logs, application logs and operational telemetry are centralized in CloudWatch and encrypted with customer-managed KMS keys. All of it is retained for one year. The audit log has its own append-only store and retention, described above, with a live CloudWatch copy for incident response. VPC flow logs are enabled. CloudFront standard access logs are enabled on every distribution, with cookie capture off and a 14-day retention. Sentry, used for frontend error tracking, ingests in the EU and masks or blocks text, form inputs and media in session replays.
The update cycle is continuous. Dependencies are monitored for known vulnerabilities, and critical and high-severity issues are patched with a target of seven days. Infrastructure changes are validated with cdk-nag, an infrastructure-as-code compliance scanner, against multiple rule packs, and application changes pass type checking, unit and integration tests, end-to-end tests and dependency scanning before they reach production. A cloud platform that is patched continuously does not drift into the outdated version that an on-premises deployment can become.
Resilience and its limits
AWS operates the Frankfurt region across multiple Availability Zones. The architecture relies on managed services within that region: S3 for durable object storage, Aurora for the relational database, Lambda for compute, CloudFront and API Gateway for traffic. S3 provides eleven nines of durability. Uploads and resource buckets are versioned. Aurora keeps continuous backups for seven days and supports point-in-time recovery. Dead-letter queues and alarms catch asynchronous failures, and incident response follows a documented process with customer notification without undue delay, and where feasible within 72 hours, when a security incident affects customer data.
There are also limits, and they are published:
- The Aurora cluster currently runs a single writer instance, so database recovery relies on automated backups and point-in-time recovery rather than an in-region standby.
- There is no cross-region S3 replication.
- CloudFront standard access logs arrive in batches rather than in real time and are kept for 14 days. They are an investigation aid, not the long-term record; the audit log holds that role.
The security measures page lists the controls together with the exceptions, including the accepted risks and the infrastructure-control suppressions, so a reviewer can read where each one stands.
Scale: why this architecture fits process mining
Process mining is bursty. A team uploads a large event log, preprocesses it, runs a set of queries, and then the workload drops. Sizing an on-premises server and database for that peak means paying for idle capacity most of the day. Sizing them for the average means waiting at the peak. Managed services separate those two problems.
The published benchmarks cover datasets from 100K to 100M events. At 50M events, process flow and category queries took about 5 to 6 seconds; preprocessing 100M events took up to about 2.5 minutes. Parquet and ORC files were roughly 85% and 82% smaller than the equivalent CSV, and delta loading added 5M events to a 50M base in about two minutes instead of an 18-minute full upload at 100 Mbps. Those numbers depend on the query, the file format and the network, so they are published with their test conditions rather than as a universal promise. The full method is in process mining performance.
The architecture matches that shape. Athena scales query compute separately from storage, so a larger log does not require a larger database server. Aurora Serverless v2 adjusts database capacity with the workload. Lambda scales per request rather than per server, so a quiet period does not leave a fleet of idle machines. The expensive parts are consumed when the work happens.
Cloud versus on-premises
Cloud is not automatically better, but it is better for most teams. It moves a class of work to a provider that does it continuously, and the platform can enforce controls that an on-premises installation leaves to each customer. The comparison looks like this:
| Question | On-premises process mining | ProcessMind on AWS |
|---|---|---|
| Patching and hardening | Your team patches the OS, database and middleware; drift is your responsibility | AWS patches managed services; there is no customer-managed application server |
| Encryption | You design and operate key management, TLS and rotation | TLS 1.2 or higher in transit; KMS at rest; customer-managed keys with automatic rotation for customer data |
| Scale | Buy servers and database capacity for peak; expensive and still limited | Athena, Aurora Serverless v2 and Lambda scale with the work |
| Login | You run the identity provider, MFA policy and password lifecycle | SSO through Microsoft, Google, LinkedIn or enterprise SSO; MFA from your identity provider |
| Updates | You schedule upgrades; versions drift between environments | Continuous updates; critical and high vulnerabilities targeted within seven days |
| Resilience | You design backups, disaster recovery and failover | AWS managed services, Aurora backups and point-in-time recovery, S3 durability; limits published |
| Data residency | Your data center and your controls | EU Frankfurt, DPA, public sub-processor list |
| Control | Maximum control over every layer | Shared responsibility; the platform controls the application layer and publishes what it does |
The on-premises column describes real constraints. Some organizations need it: a regulation or policy that requires data to stay in a specific data center or an air-gapped network, a bespoke hardware or network topology, or a mandate to operate the database and operating system themselves. ProcessMind is cloud-only. If on-premises is mandatory for your organization, we are not the right fit, and it is better to say so early than to pretend a cloud service is something it is not.
For everyone else, the cloud argument is that security work is shared with a provider that operates the infrastructure professionally, and the platform can enforce encryption, tenant isolation, SSO and least privilege consistently instead of leaving each customer to configure them.
What you can inspect
Security claims should be checkable. These are the documents behind this post:
- Security measures: the technical and organizational measures, including encryption, access control, infrastructure, logging and the published exceptions.
- Audit Log and SIEM statement: the fields in each audit record, the recorded action families, retention, access, erasure and the limitations.
- Data Processing Addendum: the GDPR terms, including retention, deletion and international transfers.
- Sub-processor list: who processes data, where, and for what.
- SaaS hosting policy: hosting, availability and customer responsibilities.
- Disaster recovery, business continuity and incident response: what happens when something goes wrong.
- Single sign-on and audit log: how sign-in and the audit trail work in the product.
We have selected the certification path for ISO 27001 and SOC 2 Type II. Neither certification is complete yet. AWS maintains its own ISO 27001, SOC and PCI DSS certifications for the underlying infrastructure, and that assurance is inherited, but inherited infrastructure certification is not the same as ProcessMind being certified. If your procurement process needs a completed security questionnaire, contact support@processmind.com and we will provide one.
Security lives in the architecture
Process mining handles the data that shows how an organization really works. That data deserves an architecture that assumes it is sensitive: short-lived compute without standing access, one database per tenant, no passwords stored by the application, encrypted paths, bounded queries and no silent exceptions.
The cloud model does not make those decisions for us, but it makes them easier to enforce, easier to audit and easier to keep current. ProcessMind is built this way because serverless compute reduces the attack surface, managed services remove operational risk, tenant scoping keeps the data boundary in the credential, and the limits are published so a customer can check the claim.