Web Access Session Recording
Web Access Session Recording captures browser-based Zero Trust Web Access (ZTWA) sessions for review, compliance, and incident investigation.
This page describes ZTWA Helm chart 4.0.0 (app version 3.0.0). For earlier versions, see Zero Trust Web Access on K8s (earlier versions).
Note:If you are looking for Remote Desktop Protocol recordings, use RDP Session Recording.
Feature Scope
Web Access Session Recording covers two capabilities, both provided by the Media Server (the mediamtx DaemonSet, one pod per node):
- Live view: the user's isolated browser session is streamed to their browser by the Media Server over WebRTC, replacing the earlier VNC-based viewer. The recording is made from the same stream, so if the Media Server is unavailable, there's no live view and no recording.
- Session recording: the Media Server records each session to the shared volume mounted at
/etc/shared, and the dispatcher uploads it to S3 or S3-compatible storage, with optional gzip compression and server-side encryption.
This feature is configured with deployment-time defaults in the Zero Trust Web Access chart values.yaml.
For ongoing Secure Remote Access session behavior, manage web and SSH settings through the Akeyless API by using the CLI or Console UI.
Prerequisites
- Shared storage: recording needs a shared volume mounted at
/etc/shared. Clusters with more than one node need aReadWriteManystorage class, for example AWS EFS, Azure Files, GCP Filestore or NFS. Single-node clusters can use a node-scoped provisioner such aslocal-path. The chart fails to install if recording is enabled without it. - Live view connectivity: UDP
8189on every node must be reachable from users' browsers. If users can't reach the nodes' IPs, set a reachable address, for example a public IP, inmediamtx.additionalHosts.
Session Correlation
ZTWA recordings use the same Secure Remote Access session identifier that appears in Session Overview and Audit Log entries.
For supported ZTWA versions, this identifier is a 24-digit numeric session ID.
To correlate a recording to a user account:
- Get the session ID from the recording object key or filename.
- Find the same session ID in Session Overview.
- Review the associated Audit Log events for that session ID.
In audit events, the end user identity appears as sra_unique_identifier.
Prerequisites For Session Visibility
If browser sessions run but Session Overview and Audit Log entries are missing, verify the following deployment settings:
- Ensure
config.clusterNameexactly matches the connected Akeyless Gateway cluster name. - Authenticate ZTWA by using the same Access ID that the Gateway is registered with.
- If the Gateway certificate is private or self-signed, provide trust material to ZTWA by using
config.gatewayCert.tlsExistingSecret. - Ensure the Gateway is running and registered in the same Akeyless account.
Configuration Surfaces
Use these surfaces:
- Primary:
recordinginvalues.yaml.
Deployment guidance: Zero Trust Web Access on K8s.
Configuration Reference
recording:
enabled: true
s3:
enabled: true
bucket: "<S3_BUCKET_NAME>"
region: "<AWS_REGION>"
prefix: "<OPTIONAL_PREFIX>"
endpoint: "<OPTIONAL_S3_COMPATIBLE_ENDPOINT>"
existingSecretName: "<S3_CREDENTIALS_SECRET_NAME>"
accessKeyIdKey: "access-key-id"
secretAccessKeyKey: "secret-access-key"
compress: false
sse:
type: "" # "" | sse-s3 | sse-kms
kmsKeyId: "<OPTIONAL_KMS_KEY_ID_OR_ARN>"enabled: Record sessions. Upload also needss3.enabled.s3.bucket,s3.region,s3.prefix: Destination bucket and object path.bucketandregionare required for upload.s3.endpoint: Endpoint of an S3-compatible service, for example MinIO. Leave empty for AWS S3.s3.existingSecretName: Secret with the S3 credentials, under the keys set inaccessKeyIdKeyandsecretAccessKeyKey. When empty, the dispatcher uses the AWS default credential chain, for example IRSA or an instance profile.s3.compress: Gzip the recordings before upload.s3.sse.type,s3.sse.kmsKeyId: Server-side encryption (sse-s3orsse-kms). An emptykmsKeyIduses the default KMS key.
End-to-End Workflow
- Enable recording in
recording.enabled. - Configure shared storage in
persistence.shareStorageVolume. See Prerequisites. - Enable upload in
recording.s3.enabledand configure the destination bucket and region. - Configure credential secret references or identity-based authentication.
- Optionally configure compression and encryption.
- Deploy or upgrade the chart.
- Start a ZTWA browser session and verify the recording artifact in the configured storage destination.
- Validate correlation by matching the session ID across the recording, Session Overview, and Audit Log.
Related Pages
Updated 13 days ago
