prorm API Reference
    Preparing search index...

    Interface DatabaseSecurityOptions

    interface DatabaseSecurityOptions {
        name: string;
        region?: string;
        defaultClassification?:
            | "PUBLIC"
            | "INTERNAL"
            | "CONFIDENTIAL"
            | "SECRET"
            | "TOP_SECRET";
        requireTLS?: boolean;
        defaultAudit?: boolean;
        defaultRetention?: RetentionDuration;
        allowedCountries?: string[];
    }
    Index
    name: string

    Database name.

    region?: string

    Geographic region (for data localization compliance).

    defaultClassification?:
        | "PUBLIC"
        | "INTERNAL"
        | "CONFIDENTIAL"
        | "SECRET"
        | "TOP_SECRET"

    Default classification for new tables.

    requireTLS?: boolean

    Require TLS for all connections.

    defaultAudit?: boolean

    Enable audit logging for all tables by default.

    defaultRetention?: RetentionDuration

    Default retention period for new tables.

    allowedCountries?: string[]

    Allowed countries for data storage (data localization).