Skip to content

HAMUR_E1257: A Cedar policy does not validate against the authorization schema

A Cedar policy does not validate against the authorization schema. Error HAMUR_E1257 belongs to hamur, scan, build and dev (1001 – 1999).

Cause

A policy reads an attribute, compares values or uses an entity type or action in a way the schema does not allow. Hamur validates every policy in Cedar's strict mode at build time.

Fix

Fix the policy, or declare the attribute, type or action in the schema.