Consent Gate and Classification Banners | Kamiwaza Docs

Version: 1.0.1 (Latest)

Kamiwaza can enforce a pre-login consent gate and display classification banners across the UI and any embedded apps. This is designed for security and compliance programs that require a user acknowledgment before access, plus persistent system-high markings.

What this provides

Public endpoints

These endpoints are intentionally public (no auth required) so they can be used before login.

Embedding the script

Add the following tag to any app that should mirror Kamiwaza's consent and banner behavior:

<script src="https://<gateway-host>/api/security/embed.js"></script>

The script:

Consent is tracked in session storage for the browser session and is also recorded server-side for audit logs.

Configuration

Deployment settings

Set these through your deployment values, ConfigMaps, or equivalent environment configuration workflow:

Variable Description Default
KAMIWAZA_SECURITY_CONSENT_ENABLED Enable the consent gate false
KAMIWAZA_SECURITY_CONSENT_BUTTON_LABEL Custom button label Accept
KAMIWAZA_SECURITY_BANNER_ENABLED Enable classification banners false
KAMIWAZA_SECURITY_BANNER_TOP_TEXT Text for the top banner (none)
KAMIWAZA_SECURITY_BANNER_TOP_COLOR Hex color for top banner (none)
KAMIWAZA_SECURITY_BANNER_BOTTOM_TEXT Text for the bottom banner Defaults to top text
KAMIWAZA_SECURITY_BANNER_BOTTOM_COLOR Hex color for bottom banner Defaults to top color

Consent content file

Consent HTML is loaded from:

$KAMIWAZA_ROOT/config/security/consent.html

If the file is missing, a default short message is used. In customer deployments, manage any custom consent content through the supported configuration and release process for your environment rather than editing files directly in running containers.

Operational notes