Install Vektana.
Connect your first source.
Run inspection inside your approved environment and bring the evidence into your team's workspace. Follow this guide after receiving your installation package from Vektana.
Request installation package1. Get the package for your environment
Email support@vektana.com with your company, operating system, CPU architecture, source types and workspace preference. Vektana provides the applicable agent package, setup details and package verification information. Do not send passwords, enrollment tokens, access keys or borrower records by email.
- Use the package that matches your operating system and architecture. Extract it into a directory your service account can access.
- Provide private persistent storage for the agent identity, metadata catalog and redacted delivery queue.
- Allow approved source connections and outbound HTTPS access to your workspace. Configure the database with verified TLS and a dedicated SELECT-only role; restrict S3 permissions to the required bucket and prefix.
- For a customer-hosted workspace, provide a dedicated PostgreSQL database and an HTTPS reverse proxy. Use the server and operator instructions supplied with your package.
Commands below run from the directory containing the supplied executable. Set executable permissions on Unix systems if required: chmod +x ./vektana-agent.
2. Set up your workspace
Open the console address provided by your workspace administrator. An administrator creates a one-time enrollment token in Agents & enrollment. Each agent has its own identity, and enrollment tokens expire after 15 minutes and can be used once.
Hosting your own workspace
Inject the verified-TLS PostgreSQL connection through VEKTANA_SERVER_DSN and the HTTPS console origin through VEKTANA_CONSOLE_URL. Place the loopback-bound server behind your approved TLS proxy. For initial organization setup, enable registration explicitly:
./vektana-server --migrate \ --public-url "$VEKTANA_CONSOLE_URL" \ --allow-signup
Create the organization and administrator account, then restart without --allow-signup. Keep database backups, runtime secrets, TLS and storage under your operating controls. Never include server credentials or agent identities in the public website package.
3. Enroll the customer-run agent
Set VEKTANA_CONTROL_URL to your console's HTTPS origin. Supply the one-time token through VEKTANA_ENROLLMENT_TOKEN using your approved secret mechanism. Keep the token out of command arguments, shared screenshots and support tickets.
./vektana-agent enroll \ --control-url "$VEKTANA_CONTROL_URL" \ --identity ./data/agent.json
The agent stores its enrolled identity privately. Keep this file and its catalog on persistent customer-controlled storage. Never reuse one agent's catalog with another enrollment.
4. Approve sources and start monitoring
Create ./data/sources.json with a reviewed source key, a non-sensitive target label, and explicit inspection limits. Connection secrets stay in local environment variables. This PostgreSQL example samples up to 100 rows per table in one approved schema:
{
"sources": [
{
"key": "lending-db",
"kind": "POSTGRES",
"dsn_env": "VEKTANA_PG_DSN",
"schemas": ["approved_schema"],
"rows": 100,
"max_tables": 20,
"target": "approved-replica"
}
]
}chmod 600 ./data/sources.json ./vektana-agent monitor \ --identity ./data/agent.json \ --config ./data/sources.json \ --db ./data/monitor.db \ --approve-metadata
In Sources & monitoring, register the same agent, connector and source key (lending-db in this example). Choose a cadence from 30 seconds to 30 days. Use Scan now to request an assessment, inspect coverage, and confirm the source appears as current. Restart the monitor after editing its private source configuration.
| Connector | Local configuration | Inspection scope |
|---|---|---|
| PostgreSQL / RDS | dsn_env, schemas, rows, max_tables | Approved schemas and bounded row samples. Schema comparison covers fields, types and nullability. |
| Amazon S3 | bucket, prefix, max_objects, max_bytes | Supported text, JSON, CSV and log objects within the approved prefix. Uses the local AWS credential chain. |
| Local export | Absolute path and max_bytes | Line-based text inspection with an explicit byte limit. |
All source entries require key, kind and target. Set the kind to POSTGRES, S3 or LOCAL_FILE. Rows/tables accept 1–1000; S3 objects accept 1–10000; file and per-object byte limits accept 1–8388608. Review names and labels before approving metadata export.
Container and Kubernetes setup
Request the container image or build bundle matching your environment from Vektana. Set VEKTANA_AGENT_IMAGE to that supplied image reference. There is no public image URL assumed by these examples.
The current image runs as UID/GID 65532, uses /data as its working directory, and starts the vektana CLI. Prepare a private persistent host directory writable by that account. Store sources.json there with mode 0600, and mount the directory at /data for enrollment and monitoring. Keep agent.json and the metadata database on the same persistent volume. Never bake enrollment tokens or source secrets into the image.
Set VEKTANA_CONTROL_URL and VEKTANA_ENROLLMENT_TOKEN securely before the Docker enrollment command on the landing page. It writes /data/agent.json. The monitoring command reuses this identity and passes VEKTANA_PG_DSN from the host environment. For S3, supply the approved AWS credential chain through your deployment’s workload identity or secret setup. A host machine’s identity and localhost network are not automatically available inside a container.
Kubernetes: select the workload for your task
The supplied backend/chart Helm chart has two modes: scanner for a one-shot PostgreSQL Job and daemonset for node-log tailing. Set the supplied image repository/tag, scoped database Secret and pre-provisioned storage in a reviewed values file. Scanner mode requires an existing PVC; node-log mode requires access to approved node paths and durable checkpoint storage. Configure your collector to consume the tailer’s redacted output.
Install the selected mode from your supplied bundle with helm upgrade --install vektana ./backend/chart --values ./approved-values.yaml. This chart does not enroll an agent or run the workspace-connected monitoring daemon. To run that daemon in Kubernetes, your platform team must supply and validate a separate workload using the Docker monitor arguments, a persistent identity/database volume, private source configuration and scoped secrets. Validate networking, storage permissions, restart behavior and output routing in your cluster before rollout.
5. Protect an approved log route
Supply VEKTANA_COLLECTOR_TOKEN (at least 32 characters), VEKTANA_LOG_SINK_URL (your approved HTTPS sink), and optionally VEKTANA_LOG_SINK_TOKEN through your secret mechanism. Use a separate route catalog; the collector owns its evidence synchronization.
./vektana-agent protect \ --listen 127.0.0.1:8787 \ --service application-logs \ --identity ./data/agent.json \ --db ./data/route.db
Configure your application or collector to POST complete logical records to /v1/logs using its bearer token and NDJSON content. Keep ingress on loopback, or place it behind an approved private TLS proxy. Reassemble CRI partial records before this HTTP route; use the separate CRI-aware file workflow for host log following.
- HTTP 202 confirms durable queueing of redacted output. Check downstream acknowledgment and queue health to confirm delivery.
- If the sink is unavailable, redacted batches stay queued. A full or unavailable queue returns backpressure; configure the producer to retry without a raw bypass.
- Delivery is at least once. Configure the sink to deduplicate
X-Vektana-Batch-IDif it requires duplicate suppression. - Verify a non-sensitive canary through the complete route, and check that parallel exporters do not bypass the protected path you intend to cover.
In Runtime events, review route state, buffered batches, last downstream acknowledgment and freshness. Classification is local and rule based; it covers recognized supported categories.
6. Review findings and save evidence
- Use Data inventory to inspect candidate locations, confidence and sampled coverage.
- Assign owners and record triage decisions in the risk dashboard. For a registered-source fix, request verification and review the new assessment before administrator closure. Incomplete or narrower coverage does not prove resolution.
- Review meaningful schema, exposure and health changes in the shared notification inbox. Approved exceptions have an expiry; recurring exposure reopens a closed finding.
- In Assessment reports, choose UTC start/end times and an optional source. Review the candidate control references and applicability with your compliance owner, then save the evidence pack.
- Download the fixed PDF, detailed JSON and SHA-256 manifest. Keep the manifest with a trusted copy of the pack for integrity checks.
Evidence packs support DPDP/RBI reviews; they do not automatically certify compliance. Review source coverage, applicability and the relevant instrument editions. Findings without comparable registered-source verification require path-specific review.
Installation verification checklist
- The enrolled agent appears online, and identities/catalogs persist across a controlled restart.
- An approved source scan finishes with understandable coverage, and its candidate inventory appears in the workspace.
- A harmless PostgreSQL schema change appears once after a comparable completed rescan.
- A synthetic canary is masked in the approved downstream route; queue and acknowledgment health are visible.
- Owners, review decisions and source verification evidence persist in the finding history.
- Your team can download its scoped evidence pack and match the JSON/PDF hashes to the saved manifest.
Need package or setup help? Contact support@vektana.com with your environment, agent version and safe error code. Keep personal records, passwords, tokens and raw log payloads out of the request.