cedar-policy-cli 4.10.0

CLI interface for the Cedar Policy language.
Documentation
{
  "staticPolicies": {
      "policy0": {
          "effect": "permit",
          "principal": {
              "op": "==",
              "entity": {
                  "type": "User",
                  "id": "bob"
              }
          },
          "action": {
              "op": "in",
              "entities": [
                  {
                      "type": "Action",
                      "id": "view"
                  },
                  {
                      "type": "Action",
                      "id": "edit"
                  }
              ]
          },
          "resource": {
              "op": "All"
          },
          "conditions": [
              {
                  "kind": "when",
                  "body": {
                      "==": {
                          "left": {
                              ".": {
                                  "left": {
                                      "Var": "resource"
                                  },
                                  "attr": "owner"
                              }
                          },
                          "right": {
                              "Var": "principal"
                          }
                      }
                  }
              }
          ]
      }
  },
  "templates": {},
  "templateLinks": []
}