Variable AuthorizationPolicySchemaConst
AuthorizationPolicySchema: ZodObject<
{
access_list_rules: ZodOptional<
ZodArray<
ZodObject<
{
action: ZodOptional<ZodEnum<["allow", "deny"]>>;
comment: ZodOptional<ZodString>;
conditions: ZodOptional<ZodArray<ZodString, "many">>;
},
"strip",
ZodTypeAny,
{ action?: "allow"
| "deny"; comment?: string; conditions?: string[] },
{ action?: "allow" | "deny"; comment?: string; conditions?: string[] },
>,
"many",
>,
>;
bypass_configs: ZodOptional<
ZodArray<
ZodObject<
{ match_type: ZodString; uri: ZodOptional<ZodString> },
"strip",
ZodTypeAny,
{ match_type: string; uri?: string },
{ match_type: string; uri?: string },
>,
"many",
>,
>;
crypto_key_configs: ZodOptional<
ZodArray<
ZodObject<
{
source: ZodOptional<ZodString>;
token_name: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{ source?: string; token_name?: string },
{ source?: string; token_name?: string },
>,
"many",
>,
>;
name: ZodString;
},
"strip",
ZodTypeAny,
{
access_list_rules?: {
action?: "allow"
| "deny";
comment?: string;
conditions?: string[];
}[];
bypass_configs?: { match_type: string; uri?: string }[];
crypto_key_configs?: { source?: string; token_name?: string }[];
name: string;
},
{
access_list_rules?: {
action?: "allow"
| "deny";
comment?: string;
conditions?: string[];
}[];
bypass_configs?: { match_type: string; uri?: string }[];
crypto_key_configs?: { source?: string; token_name?: string }[];
name: string;
},
> = ...
Authorization policy (gatekeeper) schema