Function cedar_policy_validator::context_schema_for_action

source ยท
pub fn context_schema_for_action(
    schema: &ValidatorSchema,
    action: &EntityUID
) -> Option<ContextSchema>
Expand description

Since different Actions have different schemas for Context, you must specify the Action in order to get a ContextSchema.

Returns None if the action is not in the schema.