Skip to content

cedar 4/8: lint rules + post-synth + auditCatalog #1651

Closed

Description

@lex00

Part of #1645. lintRules() ≥1 imperative rule wired by hand; post-synth auto-discovered in lint/post-synth/ (helpers as *-helpers.ts): wasm validation of every emitted policy set against its schema (in-process, no CLI), bare permit(principal, action, resource) wall (env-aware: error in prod), policy referencing entity type/action absent from schema, cross-domain checks (declared resource covered by ≥1 forbid; schema action with no policy). auditCatalog() covering every check (title/tier/fixKind/authority/category — chant#1346; yamlBased:false for entity-reading checks). Positive+negative tests per check via createPostSynthContext.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions