netget
    Preparing search index...

    Function mergeNetGetExposurePolicy

    • Parameters

      • ...policies: Partial<
            {
                auth: Partial<
                    {
                        mode: NetGetAuthMode;
                        requiredForControl: boolean;
                        requiredForDestructive: boolean;
                        requiredForRead: boolean;
                        rolesAllowed?: string[];
                    },
                >;
                control: Partial<
                    { control: boolean; destructive: boolean; read: boolean },
                >;
                enabled: boolean;
                headers?: Partial<
                    {
                        csp?: string;
                        forwardedFor?: boolean;
                        forwardedHost?: boolean;
                        forwardedProto?: boolean;
                        frameAncestors?: string[];
                    },
                >;
                inbound: Partial<
                    {
                        allowHttp: boolean;
                        allowHttps: boolean;
                        allowWebsocket?: boolean;
                        bindHosts?: string[];
                        domain?: string;
                        paths?: string[];
                        subdomain?: string;
                    },
                >;
                network: Partial<
                    {
                        allowCidrs?: string[];
                        allowLan?: boolean;
                        allowLoopback?: boolean;
                        allowWan?: boolean;
                        denyCidrs?: string[];
                        trustedProxies?: string[];
                    },
                >;
                publishMode: NetGetPublishMode;
                redirect: Partial<
                    {
                        additionalHosts?: string[];
                        canonicalHost?: string;
                        forceCanonicalHost?: boolean;
                    },
                >;
                tls: Partial<
                    {
                        certificateRef?: string;
                        mode: NetGetTlsMode;
                        redirectHttpToHttps?: boolean;
                    },
                >;
                visibility: NetGetVisibility;
            },
        >[]

      Returns NetGetExposurePolicy