prorm API Reference
    Preparing search index...

    Interface FirewallRuleDecoratorOptions

    interface FirewallRuleDecoratorOptions {
        database?: DatabaseType;
        rules?: { pattern: string | RegExp; description: string }[];
        blockDestructive?: boolean;
        blockSchemaModification?: boolean;
        blockPermissions?: boolean;
        blockFileOperations?: boolean;
        blockInfoGathering?: boolean;
        blockCodeExecution?: boolean;
        blockTransactions?: boolean;
        blockRemoteOperations?: boolean;
    }
    Index
    database?: DatabaseType

    Database type for database-specific rules

    rules?: { pattern: string | RegExp; description: string }[]

    Additional rules to apply

    blockDestructive?: boolean

    Block all Destructive operations

    blockSchemaModification?: boolean

    Block all Schema modifications

    blockPermissions?: boolean

    Block all Permission changes

    blockFileOperations?: boolean

    Block all File operations

    blockInfoGathering?: boolean

    Block all Information gathering

    blockCodeExecution?: boolean

    Block all Code execution

    blockTransactions?: boolean

    Block all Transaction control

    blockRemoteOperations?: boolean

    Block all Remote operations