Built for the questions an examiner asks about software.
This page lists how each product handles identity, access, evidence, application security and operations. The tables set cognita dev beside cognita grc and soc; where they differ, the table says so, because we would rather you know exactly what each one does. cognita lms is summarised in its own section.
Cookie-only sessions, multi-factor sign-in, your own identity provider.
| Control | cognita dev | cognita grc |
|---|---|---|
| Passwords | Argon2id; 12 to 128 characters; the last five cannot be reused | bcrypt; at least 8 characters with upper case, lower case and a digit; the minimum is a setting. Directory and single sign-on accounts hold no password here |
| Corporate sign-in | LDAP / Active Directory, SAML 2.0 and OpenID Connect. An administrator creates each account and it is linked to the directory or provider at first sign-in; nobody gets an account just by signing in. The platform's TOTP still applies | LDAP / Active Directory (the directory checks the password over LDAPS or StartTLS), SAML 2.0 and OpenID Connect with PKCE; assertions and ID tokens checked for signature, issuer, audience, validity and replay; accounts created on first sign-in with roles from directory groups; password sign-in can be limited to administrators |
| Multi-factor | Mandatory TOTP for every account; each 30-second code accepted once; 10 hashed recovery codes; secrets encrypted with AES-256-GCM under their own key | TOTP for every local and directory user who enrols; 8 single-use bcrypt-hashed recovery codes; each code accepted once; secrets encrypted at rest. Single sign-on accounts rely on the provider's MFA |
| Sessions | httpOnly, Secure, SameSite=Strict cookies; 15-minute access, rotating refresh (30 minutes idle, 8 hours absolute); at most three sessions per user | httpOnly, SameSite=Lax cookies with silent refresh; 30-minute access and rotating 7-day refresh, both settings; every sign-in is a named session the user or an administrator can end; sign-out after a period of inactivity an administrator sets, with a warning first |
| Tokens | Never returned in a response body; Authorization headers are ignored, so only the cookie authenticates | Never returned in a response body; the browser app authenticates with the cookie alone |
| Failed sign-in | Identical response for every failure, padded to a 500 ms floor; lockout after 5 failures in 15 minutes, doubling up to 24 hours | Identical status, text and timing for unknown users, wrong passwords, locked accounts and accounts that sign in elsewhere; lockout attempts and duration are settings; directory failures count too |
| Step-up | A fresh code, per session, for sign-off, creating accounts, role and MFA changes, sign-in provider, security and AI allowlist settings, and new repository tokens; five wrong codes end the session | The password again (checked by the directory for directory accounts) to turn two-factor on or off, change a security setting, or add or change a sign-in provider |
| Revocation | Logout, password or MFA change, role change and deactivation take effect on the very next request; replaying a rotated refresh token revokes the whole session family | Role change, deactivation, password reset or MFA reset ends all of the user's sessions immediately; ending one session blocks its tokens within the minute |
Protected by default, least privilege by design.
In both products every router except sign-in (and, in cognita grc, the single sign-on replies) sits inside a protected router, so a new route cannot ship unauthenticated. A test walks every route the application serves and fails if one answers without a session, and names the public ones exactly.
30 named permissions across five roles
Each endpoint declares the permission it needs from one seeded table, and code never compares role names. Projects outside your scope answer 404. Administrators run the system and see no project content.
Roles per module, mirrored in the interface
A role grants view or edit on each of 33 modules plus platform permissions; four built-in roles ship and administrators add their own. Every route of a module requires view access to it and its writes require edit; the sidebar, the dashboard and Ask AI follow the same grants. The last active administrator can never be removed. File Vault contents answer 404 to anyone but their owner.
Every action on the record, and the record protected.
cognita dev: a hash-chained, append-only log
- Each event stores the previous hash and
SHA-256(previous hash + event), written in the same transaction under a lock - The table refuses UPDATE, DELETE and TRUNCATE; the application's database role may only insert and read it
- If the audit write fails, the change it describes rolls back
- The chain is verified every night, and on demand from the audit screen
- Evidence packs carry a SHA-256 manifest that a standard-library script verifies offline
cognita grc: broad, non-blocking capture
- Sign-ins and failures, MFA events, password and admin changes, creates, updates and deletes, imports, exports and AI actions
- Written in the background with their own database session, so auditing never slows a request
- Searchable and filterable, with CSV export for reviewers
Hardened in the code, the containers and the network.
| Area | cognita dev | cognita grc |
|---|---|---|
| Browser protections | Nonce-based content security policy with no unsafe-inline, HSTS, cross-origin isolation headers | Content security policy, nosniff, frame denial and a strict referrer policy on API responses; HSTS once on HTTPS |
| Cross-site requests | State-changing calls need a custom header and a matching origin; no CORS | Same-origin deployment and SameSite cookies |
| Rate limits | Sign-in 5 a minute per address and 20 an hour per username; AI 10 a minute and 200 a day; 300 a minute otherwise | 60 a minute by default, 5 a minute for sign-in, and tighter limits on 50 sensitive endpoints |
| Uploads | Typed by content; archives limited to 1,000 entries, 200 MB and a 100:1 ratio; image and Office decompression bombs and Office files that load external content refused; HTML refused; optional ClamAV | Leading-byte checks, size caps, generated names, path-traversal and Zip Slip protection; optional ClamAV scanning of every upload |
| Exports | Every text cell escaped against spreadsheet formula injection. | |
| Containers | Non-root, read-only root filesystem, all capabilities dropped, no-new-privileges, images pinned by digest | Non-root images; only nginx published; API, database and Redis on the internal network |
| Outbound traffic | The worker, the artifact repository and sign-in go out only through squid, with an allowlist per service; it can chain to your corporate proxy | Only to the AI provider you enable, your sign-in providers, and osv.dev and the KEV and EPSS feeds for SCA reviews |
| Secrets and logs | Docker secret files; refuses to start without its keys; structured logs through a redaction filter | Docker secrets for the signing key and the model key; generic error responses with nothing internal in them |
The controls your model risk team will ask for.
Neither product lets AI take an action on its own. Both let an administrator switch AI off for everyone, and both keep a record of what the AI was asked to do.
Allowlist and classification
cognita dev allows each model per role and up to a data classification ceiling (Public, Internal, Confidential, Restricted); an empty allowlist means AI is off. cognita grc accepts only named Gemini and Claude models, each provider switched on separately, and a local Ollama model.
Kill switch
Checked on the server at the one point every AI request passes through, cached briefly and failing closed if the setting cannot be read.
Prompt hygiene
Documents are passed as labelled data. The cognita grc assistant receives counts only, and links it produces to outside sites are stripped before you see them. In cognita soc the code and advisory text a model reads is data, and its verdict is applied only where no rule decided.
Budgets and provenance
cognita dev caps tokens per user and per project and records model, prompt version, input hashes, tokens and cost for every call.
Your data stays in your database, on your hosts.
Self-hosted
No telemetry and no vendor cloud. The only outbound calls are to the AI provider you enable; with an on-premises model (vLLM in cognita dev, Ollama in cognita grc, whose cloud-hosted Ollama models stay refused unless an administrator allows them), prompts stay on your hardware.
Nothing extra in the side channels
cognita dev notifications carry IDs and keys, never document content; Redis never holds a business record. cognita grc strips hostnames from privilege-review prompts.
Nothing quietly deleted
cognita dev never hard-deletes project records and retains them for seven years by default; only the artifact repository's trash is purged, after 14 days. cognita grc includes the audit trail in every export, because it is evidence.
Backups you have actually restored.
RPO 1 hour, RTO 4 hours
Nightly encrypted backups of the database and files (AES-256 with PBKDF2 at 200,000 iterations, a SHA-256 manifest and 14-day retention), write-ahead log archived at least hourly, and a restore drill in CI that restores into a scratch database and checks row counts and the audit chain.
Scheduled snapshots with a manifest
Nightly SQL and custom-format dumps plus the uploads archive, on a schedule and retention set in Settings. Both dumps are read back and checked against live row counts before the manifest is written; exports move data between environments with the schema revision embedded.
Those figures are for a single host. On the high-availability reference design, synchronous replication means a database failover loses no committed write, and the recovery site is designed for an RPO within 15 minutes and an RTO of 4 hours.
Fast where people wait.
cognita dev targets
p95 under 300 ms for reads and 600 ms for writes at 200 concurrent users; AI jobs start within 2 seconds. A 50-user run on a laptop measured reads at 14–24 ms p95 and writes at 76–77 ms, with no failures.
cognita grc at scale
Server-side paging, filtering and sorting on the large registers, so the asset inventory stays responsive at thousands of rows; four API workers in production.
Caching that never stalls
cognita grc caches lists in Redis, invalidates them on every change and sweeps keys with non-blocking scans.
Light pages
Pages load only when opened, hashed assets are cached as immutable, and long AI calls get their own timeouts.
Usable by keyboard, checked by machine.
cognita dev targets WCAG 2.1 AA. Automated axe checks run on ten key screens and fail the build on any serious or critical issue, and a keyboard navigation test covers the main flows. Both products use MUI components with labelled controls and visible focus.
Tested the way we test yours, and fixed before release.
Both products go through the tests cognita probe runs for customers: security control testing, static analysis, dependency scanning, dynamic scanning and penetration tests, on top of the security checks in CI. A finding is fixed in the code, locked in with a test, and retested; what remains open is tracked with an owner and a target date.
| Test | cognita grc and cognita soc | cognita dev |
|---|---|---|
| Security control testing | Sign-in, MFA, lockout, sessions, timeouts, access per role and per object checked live in every penetration test, and pinned by tests in the suite | The acceptance tests written from the requirements run on every merge and may never be skipped or weakened |
| Static analysis (SAST) | OpenText Fortify scans triaged with the platform's own rules; every true positive fixed (for example, every container now runs as a non-root user). Regular security code reviews of the changes | Bandit and Semgrep on every merge |
| Dependencies (SCA) | OSV-Scanner on the backend image and npm audit on the frontend; Critical and High advisories fixed by upgrading or replacing the package | pip-audit, npm audit and Trivy on every image; a weekly Trivy scan opens an issue when a fix appears |
| Dynamic testing | The running stack exercised in each penetration test: injection, cross-site scripting, request forgery, file and import handling | A nightly OWASP ZAP baseline against the running stack |
| Penetration tests | Repeated white-box and live tests with cognita probe on development builds. No Critical or High finding; every Medium fixed and passed its retest | A security review in the hardening phase with no High or Critical finding; the pilot release's findings fixed before release |
Fixed in the code
Each fix lands with a test that fails if it is undone, so a regression stops the merge rather than reaching a release.
Retested, not assumed
A finding closes only when the retest shows it gone; a penetration test's retest is recorded with the engagement.
Tracked when open
Lower-severity items that remain open are tracked with an owner and a target date, the same way the products track yours.
The training product, held to the same rules.
cognita lms is a separate installation, so it is summarised here rather than given a column in every table. It was penetration-tested white-box with cognita probe on a development build: no Critical or High finding, and every finding fixed in the code and pinned by a test.
Sign-in
bcrypt passwords of at least 8 characters, an authenticator code, and sign-in through Active Directory, SAML 2.0 or OpenID Connect. Five failures lock an account for 15 minutes.
Sessions
A 30-minute session token refreshed for up to 7 days, sign-out after 30 idle minutes, and a fresh sign-in after 12 hours however active the session; an administrator can tighten each.
Course content
SCORM and cmi5 packages run on a separate origin with no session, so a package cannot reach the application. A completion counts only inside a launch the server started.
Files and AI
Office files are cleaned and size-checked before LibreOffice opens them; uploads can be virus-scanned with ClamAV. The AI assistant is off until an administrator switches it on and adds a key.
cognita api, the outbound API gateway, describes its own controls on its page.
Every change passes the same checks before it merges.
Security tests are the merge gate
- Acceptance tests written from the requirements, never skipped or weakened
- ruff, mypy, eslint and TypeScript checks; pytest with coverage against PostgreSQL
- Bandit, Semgrep, pip-audit, npm audit and Trivy on every image
- Compose smoke test of headers, CSP nonce, egress allowlist and metrics
- Five Playwright scenarios, including accessibility, and the restore drill
- Nightly OWASP ZAP baseline; weekly Trivy scan that opens an issue when a fix appears
Over 2,000 backend tests on what is easiest to break
- A route walk that fails the build if any route has no access check
- Every router except sign-in requires a session
- One case per role per guard in the permission matrix
- Failed sign-ins indistinguishable in status, text and timing
- Tokens only in cookies; logout ends the session
- The API still answers when Redis is unreachable; migrations checked on PostgreSQL in CI
- Bulk edits write only the fields given; File Vault files unreadable by anyone else
cognita helps you run and evidence your controls. Using it does not by itself make an institution compliant with any law or framework.
Need the detail for a vendor or architecture review?
We can share the control list, the test suites and the deployment guide with your security and risk teams.